Commit 4556995d authored by Michael Lundquist's avatar Michael Lundquist
Browse files

Attempting a simple test case before I start making API calls in the test cases.

parent 3671af83
Pipeline #4813 failed with stage
in 1 minute and 9 seconds
......@@ -31,9 +31,9 @@ before_script:
- echo "from django.contrib.auth import get_user_model; User =
get_user_model(); User.objects.create_superuser('root',
'', 'root') " | python shell
- python3 loaddata --format json categoriesFixture locationFixture openTimeFixture scheduleFixture settingsFixture
image: library/python:3.7
type: test
- echo "Done 😄"
- python3 test --noinput api/tests/
from rest_framework.test import APIRequestFactory, APITestCase
class ScheduleTests(APITestCase):
def test_call(self):
\ No newline at end of file
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment