Пример #1
0
 def test_status(self):
     for s in ['Active', 'Inactive']:
         status(s)
     for s in ['active', 'idle']:
         with self.assertRaises(ValueError):
             status(s)
Пример #2
0
 def test_status(self):
     for s in ['Active', 'Inactive']:
         status(s)
     for s in ['active', 'idle']:
         with self.assertRaises(ValueError):
             status(s)
Пример #3
0
 def test_status(self):
     for s in ["Active", "Inactive"]:
         status(s)
     for s in ["active", "idle"]:
         with self.assertRaises(ValueError):
             status(s)
Пример #4
0
 def test_status(self):
     for s in ["Active", "Inactive"]:
         status(s)
     for s in ["active", "idle"]:
         with self.assertRaises(ValueError):
             status(s)