Ejemplo n.º 1
0
 def test_raises_library_error_when_no_matching_constraint_found(self):
     self.assertFalse(ticket_command.remove(mock.MagicMock(), "T", "R"))
Ejemplo n.º 2
0
 def test_successfully_remove_with_resource_set(self):
     self.assertTrue(ticket_command.remove(mock.MagicMock(), "T", "R"))
Ejemplo n.º 3
0
 def test_successfully_remove_plain(self):
     self.assertTrue(ticket_command.remove(mock.MagicMock(), "T", "R"))
Ejemplo n.º 4
0
 def test_raises_library_error_when_no_matching_constraint_found(self):
     self.assertFalse(ticket_command.remove(mock.MagicMock(), "T", "R"))
Ejemplo n.º 5
0
 def test_successfully_remove_with_resource_set(self):
     self.assertTrue(ticket_command.remove(mock.MagicMock(), "T", "R"))
Ejemplo n.º 6
0
 def test_successfully_remove_plain(self):
     self.assertTrue(ticket_command.remove(mock.MagicMock(), "T", "R"))