Fix cover errors 15/13115/1
authorgarciadeblas <gerardo.garciadeblas@telefonica.com>
Wed, 29 Mar 2023 15:41:26 +0000 (17:41 +0200)
committergarciadeblas <gerardo.garciadeblas@telefonica.com>
Wed, 29 Mar 2023 15:41:26 +0000 (17:41 +0200)
Change-Id: I6f1bba2ab475e25802c6b72572b2e1593abb69ef
Signed-off-by: garciadeblas <gerardo.garciadeblas@telefonica.com>
requirements-dev.in
requirements-dev.txt
tox.ini

index 299fb8e..81fc3b2 100644 (file)
@@ -10,8 +10,8 @@
 # License for the specific language governing permissions and limitations
 # under the License.
 
-git+https://osm.etsi.org/gerrit/osm/common.git@master#egg=osm-common
+git+https://osm.etsi.org/gerrit/osm/common.git@v13.0#egg=osm-common
 -r https://osm.etsi.org/gitweb/?p=osm/common.git;a=blob_plain;f=requirements.txt;hb=v13.0
 
-git+https://osm.etsi.org/gerrit/osm/IM.git@master#egg=osm-im
+git+https://osm.etsi.org/gerrit/osm/IM.git@v13.0#egg=osm-im
 -r https://osm.etsi.org/gitweb/?p=osm/IM.git;a=blob_plain;f=requirements.txt;hb=v13.0
index c51fe8d..4233b70 100644 (file)
@@ -35,9 +35,9 @@ lxml==4.9.0
     #   -r https://osm.etsi.org/gitweb/?p=osm/IM.git;a=blob_plain;f=requirements.txt;hb=v13.0
     #   pyang
     #   pyangbind
-osm-common @ git+https://osm.etsi.org/gerrit/osm/common.git@master
+osm-common @ git+https://osm.etsi.org/gerrit/osm/common.git@v13.0
     # via -r requirements-dev.in
-osm-im @ git+https://osm.etsi.org/gerrit/osm/IM.git@master
+osm-im @ git+https://osm.etsi.org/gerrit/osm/IM.git@v13.0
     # via -r requirements-dev.in
 pyang==2.5.3
     # via
diff --git a/tox.ini b/tox.ini
index 377149c..d38c13b 100644 (file)
--- a/tox.ini
+++ b/tox.ini
@@ -48,7 +48,7 @@ commands =
         coverage report --omit='*tests*'
         coverage html -d ./cover --omit='*tests*'
         coverage xml -o coverage.xml --omit=*tests*
-whitelist_externals = sh
+allowlist_externals = sh
 
 
 #######################################################################################
@@ -83,7 +83,7 @@ commands =
 [testenv:pip-compile]
 deps =  pip-tools==6.6.2
 skip_install = true
-whitelist_externals = bash
+allowlist_externals = bash
         [
 commands =
         - bash -c "for file in requirements*.in ; do \
@@ -107,7 +107,7 @@ commands =
         python3 setup.py --command-packages=stdeb.command sdist_dsc
         sh -c 'cd deb_dist/osm-nbi*/ && dpkg-buildpackage -rfakeroot -uc -us'
         sh -c 'rm osm_nbi/requirements.txt'
-whitelist_externals = sh
+allowlist_externals = sh
 
 #######################################################################################
 [flake8]