X-Git-Url: https://gerrit.o-ran-sc.org/r/gitweb?a=blobdiff_plain;f=tests%2Ftest_utils.py;h=2895632800bc35a1495d61fae9c1694324409bd8;hb=40caa314d23122f0bd25c0e66b65d10303538164;hp=baa6b96f107d5f0837efe04f721a9a184ec4a004;hpb=d1cc75a2ca8d41cecb8bd67f9bc934c53035b43b;p=ric-plt%2Fa1.git diff --git a/tests/test_utils.py b/tests/test_utils.py index baa6b96..2895632 100644 --- a/tests/test_utils.py +++ b/tests/test_utils.py @@ -33,19 +33,6 @@ def test_bad_get_ric_manifest(monkeypatch): utils.get_ric_manifest() -def test_bad_get_rmr_mapping(monkeypatch): - """ - testing missing rmr mapping - """ - - def badopen(filename, mode): - raise FileNotFoundError() - - monkeypatch.setattr("builtins.open", badopen) - with pytest.raises(exceptions.MissingRmrMapping): - utils._get_rmr_mapping_table() - - def test_good_get_ric_manifest(monkeypatch): """ test get_ric_manifest @@ -54,14 +41,6 @@ def test_good_get_ric_manifest(monkeypatch): utils.get_ric_manifest() -def test_good_get_rmr_mapping(monkeypatch): - """ - testing getting the ric maping table - """ - testing_helpers.patch_all(monkeypatch) - utils._get_rmr_mapping_table() - - def test_validate(monkeypatch): """ test json validation wrapper