Commit df7afc1d authored by Håvard Farestveit's avatar Håvard Farestveit
Browse files

Added build stage to gitlab-ci and fixed test-fail in User/tests

parent ed2f0d2a
Pipeline #114792 canceled with stages
in 4 minutes and 22 seconds
......@@ -5,6 +5,15 @@ stages:
- test
- deploy
image: python:3.8.5-slim
- apt-get clean
- pip install -r backend/secfit/requirements.txt
- cd backend/secfit
- python runserver
stage: test
image: python:3.8.5-slim
from django.test import TestCase
from backend.secfit.users.serializers import UserSerializer
from users.serializers import UserSerializer
from django.contrib.auth import get_user_model
from rest_framework import serializers
class UserSerializerTestCase(TestCase):
Supports Markdown
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