Thomas Waldmann
ae9c2f29d0
more tests, better coverage
2013-11-21 04:02:16 +01:00
Thomas Waldmann
5fb721d112
more api tests, add another user and another host so we can test separation
2013-11-16 07:51:04 +01:00
Thomas Waldmann
08d8ce472b
added test for nic_update_session
2013-11-16 07:23:44 +01:00
Thomas Waldmann
925ad20405
update api: there is no "noauth" return value, it must be "badauth"
2013-11-16 06:09:56 +01:00
Thomas Waldmann
d6b5041573
a real nic update api test, using basic auth
...
generate_secret was modified to support giving a secret (not generating a random one), so it matches the test database
add a User and a Host to the test db
2013-11-16 01:25:05 +01:00
Thomas Waldmann
4c46c30d25
more api tests (mostly triggering execution of some code)
...
it's hard to test anything without a user / http auth / login / session.
2013-11-15 13:00:57 +01:00
Thomas Waldmann
1f28cb3ed0
name api views, use reverse() in unit tests
2013-11-15 12:14:36 +01:00
Thomas Waldmann
89f743c1b0
removed test skips, all works now
2013-10-17 15:58:25 -07:00
Thomas Waldmann
9428ed7943
adding nic api tests
2013-10-03 21:58:33 +02:00