class TestTransferCommands(django.test.TestCase): def setUp(self): self.command_factory = CommandFactory() def test_get_trans_command(self): transaction = Transaction(Account(), Account(), 100) cmd = self.command_factory.create_command("TRANS", transaction) self.assertEquals(cmd._obj, transaction)
def setUp(self): self.command_factory = CommandFactory()