aboutsummaryrefslogtreecommitdiffstats
path: root/src/liblaas/tests.py
diff options
context:
space:
mode:
authorJustin Choquette <jchoquette@iol.unh.edu>2023-09-27 17:03:38 -0400
committerJustin Choquette <jchoquette@iol.unh.edu>2023-10-19 18:10:17 -0400
commitaff53e072502d63d8002d9c83213ce7f9d12c352 (patch)
tree3a30adca1fe7c958ddc092dbf7b9fa24259dd923 /src/liblaas/tests.py
parent1947d40115c7b13f8617ea92078a6f910d6bc799 (diff)
user subsystem clean up
Change-Id: Ia59bb7c1e4412693f55cdcaf9607bcb4158850ae Signed-off-by: Justin Choquette <jchoquette@iol.unh.edu>
Diffstat (limited to 'src/liblaas/tests.py')
-rw-r--r--src/liblaas/tests.py65
1 files changed, 65 insertions, 0 deletions
diff --git a/src/liblaas/tests.py b/src/liblaas/tests.py
new file mode 100644
index 0000000..5ec7f15
--- /dev/null
+++ b/src/liblaas/tests.py
@@ -0,0 +1,65 @@
+##############################################################################
+# Copyright (c) 2018 Sawyer Bergeron and others.
+#
+# All rights reserved. This program and the accompanying materials
+# are made available under the terms of the Apache License, Version 2.0
+# which accompanies this distribution, and is available at
+# http://www.apache.org/licenses/LICENSE-2.0
+##############################################################################
+
+from django.test import TestCase
+from liblaas.views import liblaas_docs, user_get_user
+
+class LibLaaSTests(TestCase):
+ def test_can_reach_liblaas(self):
+ response = liblaas_docs()
+ self.assertEqual(response.status_code, 200)
+
+class BookingTests(TestCase):
+ def test_create_booking_succeeds_with_valid_blob(self):
+ pass
+
+ def test_create_booking_fails_with_invalid_blob(self):
+ pass
+
+ def test_booking_status_succeeds_on_valid_booking_id(self):
+ pass
+
+ def test_end_booking_succeeds_on_valid_agg_id(self):
+ pass
+
+class FlavorTests(TestCase):
+ def test_list_flavors_succeeds(self):
+ pass
+
+ def test_get_flavor_by_id_succeeds(self):
+ pass
+
+ def test_list_hosts_succeeds(self):
+ pass
+
+class TemplateTests(TestCase):
+ def test_list_templates_succeeds(self):
+ pass
+
+ def test_make_template_succeeds(self):
+ pass
+
+ def test_delete_template_succeeds(self):
+ pass
+
+class UserTests(TestCase):
+ def test_get_user_succeeds(self):
+ pass
+
+ def test_create_user_succeeds(self):
+ pass
+
+ def test_set_ssh_succeeds(self):
+ pass
+
+ def test_set_company_succeeds(self):
+ pass
+
+ def test_set_email_succeeds(self):
+ pass