Beispiel #1
0
 def test_tool_borrow_with_no_existing_borrower(self):
     """
     borrow_tool should return false if the tool is already has a borrower
     """
     tool = Tool(name="test", owner=self.profile1, borrower=None)
     self.assertEqual(tool.borrow_tool(self.profile2), True)