Commit 07941d46 authored by Sergio Alonso's avatar Sergio Alonso

gitlab-ci: avoid run functional tests

parent 82008b32
......@@ -3,6 +3,7 @@
import json
import unittest
from django.test import tag
from pyvirtualdisplay import Display
from selenium import webdriver
from selenium.webdriver.common.by import By
......@@ -10,6 +11,7 @@ from selenium.webdriver.support import expected_conditions as EC
from selenium.webdriver.support.ui import WebDriverWait
@tag('functional')
class AccountTest(unittest.TestCase):
"""Account Test Suite."""
......
......@@ -4,5 +4,5 @@
/usr/bin/python3.4 ./manage.py migrate --settings=educational_heritage.settings.local
/usr/bin/python3.4 ./manage.py loaddata Item --settings=educational_heritage.settings.local
/usr/bin/python3.4 ./manage.py runserver_plus --cert /tmp/cert --settings=educational_heritage.settings.local 0.0.0.0:8000 &
coverage run ./manage.py test -k -v 2 --settings=educational_heritage.settings.local
coverage run ./manage.py test -k -v 2 --settings=educational_heritage.settings.local --exclude-tag=functional
coverage report -m --skip-covered
......@@ -2,11 +2,13 @@
import unittest
from django.test import tag
from pyvirtualdisplay import Display
from selenium import webdriver
from selenium.webdriver.common.keys import Keys
@tag('functional')
class OpenEducationalResourcesTest(unittest.TestCase):
"""Open Educational Resources Functional Test Suite."""
......
......@@ -2,10 +2,12 @@
import unittest
from django.test import tag
from pyvirtualdisplay import Display
from selenium import webdriver
@tag('functional')
class RepositoryTest(unittest.TestCase):
"""Repository Test Suite."""
......
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