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):
tree = fromstring(response.content)
flowcell_spans = tree.xpath('//span[@property="libns:flowcell_id"]',
namespaces=NSMAP)
- self.assertEqual(flowcell_spans[0].text, '30012AAXX (failed)')
- failed_fc_span = flowcell_spans[0]
+ self.assertEqual(flowcell_spans[1].text, '30012AAXX (failed)')
+ failed_fc_span = flowcell_spans[1]
failed_fc_a = failed_fc_span.getparent()
# make sure some of our RDF made it.
self.assertEqual(failed_fc_a.get('typeof'), 'libns:IlluminaFlowcell')
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):