def test_releasever_7server(self): self.assertTrue(YumReleaseverSource.is_set({'releaseVer': '7Server'}))
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'}))
def test_releasever_zero(self): self.assertFalse(YumReleaseverSource.is_set({'releaseVer': 0}))
def test_releasever_none(self): self.assertFalse(YumReleaseverSource.is_set({'releaseVer': None}))
def test_not_a_dict(self): self.assertFalse(YumReleaseverSource.is_set(['some string']))
def test_key_error(self): self.assertFalse(YumReleaseverSource.is_set({'not_release_ver': 'blippy'}))
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"}))