def test_fetch_command(self): ch = CommandHandler(['flow']) result = ch.fetch_command('create') self.assertTrue(isinstance(result, Command))