tests.py
432 Bytes
from django.test import TestCase
from common.models import PyrosUser
from .configpyros import ConfigPyros
import unittest
class ObservatoryConfigurationTests(TestCase):
fixtures = ['tests/common_test_TZ.json']
@unittest.expectedFailure
def test_OCF_view_config_ko(self):
u1 = PyrosUser.objects.get(username="haribo")
config_ko = ConfigPyros("obsconfig/fixtures/observatory_configuration_ko.yml")