Skip to content

Commit

Permalink
Disable Gratia tests on EL7
Browse files Browse the repository at this point in the history
  • Loading branch information
brianhlin committed Apr 25, 2018
1 parent 7d7dc61 commit b971b5e
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 0 deletions.
3 changes: 3 additions & 0 deletions osgtest/tests/test_23_gratia.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,9 @@

class TestStartGratia(osgunittest.OSGTestCase):

def setUp(self):
self.skip_ok_if(core.el_release() > 6, "Do not run Gratia tests on EL7")

def patternreplace(self, infile_name, pattern, full_line):
"""This helper method loops through the passed in infile line by line.
If it finds the passed in pattern, it replaces the whole line with
Expand Down
3 changes: 3 additions & 0 deletions osgtest/tests/test_54_gratia.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,9 @@

class TestGratia(osgunittest.OSGTestCase):

def setUp(self):
self.skip_ok_if(core.el_release() > 6, "Do not run Gratia tests on EL7")

def patternreplace(self, infile_name, pattern, full_line, insert_after=False):
"""This method is taken from test_28 - we can consider moving it to core.py module
This helper method loops through the passed in infile line by line.
Expand Down
3 changes: 3 additions & 0 deletions osgtest/tests/test_80_gratia.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,9 @@

class TestStopGratia(osgunittest.OSGTestCase):

def setUp(self):
self.skip_ok_if(core.el_release() > 6, "Do not run Gratia tests on EL7")

#This test removes the http certificates, if not already removed earlier
def test_01_remove_certs(self):

Expand Down

0 comments on commit b971b5e

Please sign in to comment.