def test_django(monkeypatch): mock(monkeypatch) set_up() Create.run(mock_options_create) Django.run(mock_options) tear_down()
def test_django_invalid_settings(monkeypatch): mock_raises(monkeypatch) set_up() Create.run(mock_options_create) Django.run(mock_options_1) tear_down()
def test_import_django(monkeypatch): mock_django(monkeypatch) set_up() Django.run(mock_options) tear_down()