示例#1
0
 def test_raises_library_error_when_no_matching_constraint_found(self):
     self.assertFalse(ticket_command.remove(mock.MagicMock(), "T", "R"))
示例#2
0
 def test_successfully_remove_with_resource_set(self):
     self.assertTrue(ticket_command.remove(mock.MagicMock(), "T", "R"))
示例#3
0
 def test_successfully_remove_plain(self):
     self.assertTrue(ticket_command.remove(mock.MagicMock(), "T", "R"))
示例#4
0
文件: test_ticket.py 项目: idevat/pcs
 def test_raises_library_error_when_no_matching_constraint_found(self):
     self.assertFalse(ticket_command.remove(mock.MagicMock(), "T", "R"))
示例#5
0
文件: test_ticket.py 项目: idevat/pcs
 def test_successfully_remove_with_resource_set(self):
     self.assertTrue(ticket_command.remove(mock.MagicMock(), "T", "R"))
示例#6
0
文件: test_ticket.py 项目: idevat/pcs
 def test_successfully_remove_plain(self):
     self.assertTrue(ticket_command.remove(mock.MagicMock(), "T", "R"))