def test_app(command, capsys, monkeypatch): command = admin_generator.Command() #command.handle( # 'test_project.test_app', # 'ACollectionOfSpamAndEggsAndOtherStuff', # **DEFAULTS) command.handle('test_project.test_app', **DEFAULTS) check_output(capsys)
def test_app(command, capsys, monkeypatch): command = admin_generator.Command() command.handle(app='test_project.test_app', **DEFAULTS) check_output(capsys)
def command(monkeypatch): return admin_generator.Command()