예제 #1
0
 def test_string(self):
     self.assertTrue(YumReleaseverSource.is_not_empty("Super"))
예제 #2
0
 def test_number(self):
     self.assertTrue(YumReleaseverSource.is_not_empty("7"))
예제 #3
0
 def test_none(self):
     self.assertFalse(YumReleaseverSource.is_not_empty(None))
예제 #4
0
 def test_empty_list(self):
     self.assertFalse(YumReleaseverSource.is_not_empty([]))
예제 #5
0
 def test_empty_string(self):
     self.assertFalse(YumReleaseverSource.is_not_empty(""))