Example #1
0
 def test_releasever_7server(self):
     self.assertTrue(YumReleaseverSource.is_set({'releaseVer': '7Server'}))
Example #2
0
 def test_releasever_the_string_none(self):
     # you laugh, but someone thinks that would be an awesome product name.
     self.assertTrue(YumReleaseverSource.is_set({'releaseVer': 'None'}))
Example #3
0
 def test_releasever_zero(self):
     self.assertFalse(YumReleaseverSource.is_set({'releaseVer': 0}))
Example #4
0
 def test_releasever_none(self):
     self.assertFalse(YumReleaseverSource.is_set({'releaseVer': None}))
Example #5
0
 def test_not_a_dict(self):
     self.assertFalse(YumReleaseverSource.is_set(['some string']))
Example #6
0
 def test_key_error(self):
     self.assertFalse(YumReleaseverSource.is_set({'not_release_ver': 'blippy'}))
Example #7
0
 def test_none(self):
     self.assertFalse(YumReleaseverSource.is_set(None))
 def test_releasever_7server(self):
     self.assertTrue(YumReleaseverSource.is_set({"releaseVer": "7Server"}))
 def test_key_error(self):
     self.assertFalse(YumReleaseverSource.is_set({"not_release_ver": "blippy"}))