Extracting Ns._create_task() and creating unit test 72/11372/2
authorsousaedu <eduardo.sousa@canonical.com>
Fri, 19 Nov 2021 01:01:32 +0000 (01:01 +0000)
committersousaedu <eduardo.sousa@canonical.com>
Fri, 19 Nov 2021 01:10:54 +0000 (01:10 +0000)
commit89278b8df3845c0c1fa862ba9be8c635ce3bfa64
tree3b026d130e4b1954fba536e98d7d15b9ce266ce7
parent71e66118a83d01540dbd66a7e3c15af68a53f3ca
Extracting Ns._create_task() and creating unit test

Extracted the _create_task() to ease the testability of that code.
Introduced a unit test to cover that function.
Re-enabled unit tests and black now is mandatory.

Change-Id: I6b304b14b60b182dee6b274cf95228a81ddc2771
Signed-off-by: sousaedu <eduardo.sousa@canonical.com>
NG-RO/osm_ng_ro/ns.py
NG-RO/osm_ng_ro/tests/test_ns.py [new file with mode: 0644]
RO-VIM-azure/osm_rovim_azure/vimconn_azure.py
RO-VIM-gcp/osm_rovim_gcp/vimconn_gcp.py
integration-tests/test_vimconn_gcp.py
releasenotes/notes/extracting_create_task-e76ed58bfe5a6751.yaml [new file with mode: 0644]
tox.ini