예제 #1
0
 def test_returns_false_on_option_including_value(self):
     self.assertFalse(is_short_option_expecting_value("-fvalue"))
예제 #2
0
 def test_returns_false_on_unknown_short_option(self):
     self.assertFalse(is_short_option_expecting_value("-x"))
예제 #3
0
 def test_returns_false_on_option_without_dash(self):
     self.assertFalse(is_short_option_expecting_value("ff"))
예제 #4
0
 def test_returns_true_on_short_option_with_value(self):
     self.assertTrue(is_short_option_expecting_value("-f"))
예제 #5
0
 def test_returns_false_on_option_including_value(self):
     self.assertFalse(is_short_option_expecting_value("-fvalue"))
예제 #6
0
 def test_returns_false_on_option_without_dash(self):
     self.assertFalse(is_short_option_expecting_value("ff"))
예제 #7
0
 def test_returns_false_on_unknown_short_option(self):
     self.assertFalse(is_short_option_expecting_value("-x"))
예제 #8
0
 def test_returns_true_on_short_option_with_value(self):
     self.assertTrue(is_short_option_expecting_value("-f"))