from django.db import connection
class ClusterStationTestCases(TestCase):
- fixtures = ['test_flowcells.json']
+ fixtures = ['initial_data.json',
+ 'test_flowcells.json']
def test_default(self):
c = models.ClusterStation.default()
class SequencerTestCases(TestCase):
- fixtures = ['test_flowcells.json']
+ fixtures = ['initial_data.json',
+ 'test_flowcells.json']
def test_default(self):
# starting with no default
class ExperimentsTestCases(TestCase):
- fixtures = ['test_flowcells.json',
+ fixtures = ['initial_data.json',
+ 'test_flowcells.json',
]
def setUp(self):
class TestFileType(TestCase):
+ fixtures = ['initial_data.json',
+ 'test_flowcells.json',
+ ]
+
def test_file_type_unicode(self):
file_type_objects = models.FileType.objects
name = 'QSEQ tarfile'
self.assertEqual(result.get('end', None), end)
class TestEmailNotify(TestCase):
- fixtures = ['test_flowcells.json']
+ fixtures = ['initial_data.json',
+ 'test_flowcells.json']
def test_started_email_not_logged_in(self):
response = self.client.get('/experiments/started/153/')
return dict( ((x['library_id'],x) for x in lane) )
class TestSequencer(TestCase):
- fixtures = ['test_flowcells.json',
+ fixtures = ['initial_data.json',
+ 'test_flowcells.json',
]
def test_name_generation(self):
from htsworkflow.util.ethelp import validate_xhtml
class LibraryTestCase(TestCase):
- fixtures = ['test_samples.json']
+ fixtures = ['initial_data.json',
+ 'test_samples.json']
def setUp(self):
create_db(self)
Test returning data from our database in rest like ways.
(like returning json objects)
"""
- fixtures = ['test_samples.json']
+ fixtures = ['initial_data.json',
+ 'test_samples.json']
def test_library_info(self):
for lib in Library.objects.all():
class TestRDFaLibrary(TestCase):
- fixtures = ['test_samples.json']
+ fixtures = ['initial_data.json',
+ 'test_samples.json']
def test_parse_rdfa(self):
model = get_rdf_memory_model()