add tests for add domain / add host views

This commit is contained in:
Thomas Waldmann 2014-08-31 01:33:00 +02:00
parent 37f26d6031
commit a4616e2637

View File

@ -25,7 +25,9 @@ def test_views_anon(client):
('domain_view', dict(pk=1), 302), ('domain_view', dict(pk=1), 302),
('generate_secret_view', dict(pk=1), 302), ('generate_secret_view', dict(pk=1), 302),
('generate_ns_secret_view', dict(pk=1), 302), ('generate_ns_secret_view', dict(pk=1), 302),
('add_host', dict(), 302),
('delete_host', dict(pk=1), 302), ('delete_host', dict(pk=1), 302),
('add_domain', dict(), 302),
('delete_domain', dict(pk=1), 302), ('delete_domain', dict(pk=1), 302),
('updater_hostconfig_overview', dict(pk=1), 302), ('updater_hostconfig_overview', dict(pk=1), 302),
('updater_hostconfig', dict(pk=1), 302), ('updater_hostconfig', dict(pk=1), 302),
@ -50,7 +52,9 @@ def test_views_logged_in(client):
('domain_view', dict(pk=1), 200), ('domain_view', dict(pk=1), 200),
('generate_secret_view', dict(pk=1), 200), ('generate_secret_view', dict(pk=1), 200),
('generate_ns_secret_view', dict(pk=1), 200), ('generate_ns_secret_view', dict(pk=1), 200),
('add_host', dict(), 200),
('delete_host', dict(pk=1), 200), ('delete_host', dict(pk=1), 200),
('add_domain', dict(), 200),
('delete_domain', dict(pk=1), 200), ('delete_domain', dict(pk=1), 200),
('updater_hostconfig_overview', dict(pk=1), 200), ('updater_hostconfig_overview', dict(pk=1), 200),
('updater_hostconfig', dict(pk=1), 200), ('updater_hostconfig', dict(pk=1), 200),