diff options
author | Tim Rozet <trozet@redhat.com> | 2018-08-21 09:19:57 -0400 |
---|---|---|
committer | Tim Rozet <trozet@redhat.com> | 2018-09-28 18:48:52 +0000 |
commit | 0b260171fd58e035efd0614ae390e91f985d69bc (patch) | |
tree | e54a9a9293f94c1fc185d33554a3328068f23fae /apex/tests | |
parent | 82bf9da27ea0c973068720d440e3391084e8a9d9 (diff) |
Enable OVN scenarios
As of Queens only HA OVN deployments are supported.
Change-Id: I184c5a096fec9cbc3cf2ec06218700138ea3ed57
Signed-off-by: Tim Rozet <trozet@redhat.com>
(cherry picked from commit ee58a24647df8eec2418735b038e5035bdffe10d)
Diffstat (limited to 'apex/tests')
-rw-r--r-- | apex/tests/test_apex_build_utils.py | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/apex/tests/test_apex_build_utils.py b/apex/tests/test_apex_build_utils.py index f18103c8..36caaf1f 100644 --- a/apex/tests/test_apex_build_utils.py +++ b/apex/tests/test_apex_build_utils.py @@ -178,6 +178,12 @@ class TestBuildUtils(unittest.TestCase): self.assertNotRegex(tmp_patch, 'Steps of upgrade are as follows') self.assertNotRegex(tmp_patch, 'Steps invlolved in level 2 update') + def test_is_path_in_patch(self): + with open(os.path.join(con.TEST_DUMMY_CONFIG, '98faaca.diff')) as fh: + dummy_patch = fh.read() + self.assertTrue(build_utils.is_path_in_patch(dummy_patch, + 'releasenotes/')) + def test_strip_no_patch_sections(self): with open(os.path.join(con.TEST_DUMMY_CONFIG, '98faaca.diff')) as fh: dummy_patch = fh.read() |