示例#1
0
def test_django(monkeypatch):
    mock(monkeypatch)
    set_up()
    Create.run(mock_options_create)
    Django.run(mock_options)
    tear_down()
示例#2
0
def test_django_invalid_settings(monkeypatch):
    mock_raises(monkeypatch)
    set_up()
    Create.run(mock_options_create)
    Django.run(mock_options_1)
    tear_down()
示例#3
0
def test_import_django(monkeypatch):
    mock_django(monkeypatch)
    set_up()
    Django.run(mock_options)
    tear_down()