Skip to content
Snippets Groups Projects
Commit 8fbd8ef8 authored by Piotr Gawron's avatar Piotr Gawron
Browse files

code showing how to disable potential problematic redcap tests

parent f6e3b3cc
No related branches found
No related tags found
1 merge request!129Resolve "list shown after clicking on notifications"
# coding=utf-8
import logging
import unittest
from django.test import TestCase
......@@ -14,6 +15,7 @@ from web.views.notifications import get_today_midnight_date
logger = logging.getLogger(__name__)
# @unittest.skip("test redcap server is down")
class TestRedcapConnector(TestCase):
def test_invalid_configuration(self):
redcap_connection = RedcapConnector()
......
import logging
import unittest
from django.urls import reverse
......@@ -13,6 +14,7 @@ class RedcapViewTests(LoggedInTestCase):
response = self.client.get(reverse('web.views.missing_redcap_subject'))
self.assertEqual(response.status_code, 200)
# @unittest.skip("test redcap server is down")
def test_render_workers_list_request_with_valid_connection(self):
prepare_test_redcap_connection()
......@@ -23,6 +25,7 @@ class RedcapViewTests(LoggedInTestCase):
response = self.client.get(reverse('web.views.inconsistent_redcap_subject'))
self.assertEqual(response.status_code, 200)
# @unittest.skip("test redcap server is down")
def test_render_add_worker_request_with_valid_connection(self):
prepare_test_redcap_connection()
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment