Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Michael R Lundquist
whats-open
Commits
4556995d
Commit
4556995d
authored
Sep 26, 2019
by
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
Changes
2
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
.gitlab-ci.yml
View file @
4556995d
...
@@ -31,9 +31,9 @@ before_script:
...
@@ -31,9 +31,9 @@ before_script:
-
echo "from django.contrib.auth import get_user_model; User =
-
echo "from django.contrib.auth import get_user_model; User =
get_user_model(); User.objects.create_superuser('root',
get_user_model(); User.objects.create_superuser('root',
'root@srct.gmu.edu', 'root') " | python manage.py shell
'root@srct.gmu.edu', 'root') " | python manage.py shell
-
python3 manage.py loaddata --format json categoriesFixture locationFixture openTimeFixture scheduleFixture settingsFixture
whats-open-py3.7
:
whats-open-py3.7
:
image
:
library/python:3.7
image
:
library/python:3.7
type
:
test
type
:
test
script
:
script
:
-
echo "Done 😄"
-
python3 manage.py test --noinput api/tests/
whats-open/api/tests/test_schedule.py
0 → 100644
View file @
4556995d
from
rest_framework.test
import
APIRequestFactory
,
APITestCase
class
ScheduleTests
(
APITestCase
):
def
test_call
(
self
):
self
.
assertTrue
(
true
)
\ No newline at end of file
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment