Skip to content
Permalink
Browse files

Forgot to change the test_init to suit the other changes in the code

  • Loading branch information
Ashwin-Srinivasan authored and bilalshaikh42 committed Jun 26, 2018
1 parent 395b12f commit 3dcb2d6473dfd3128faa207cd9339d7c850ebba0
Showing with 2 additions and 5 deletions.
  1. +2 −5 tests/kb_gen/test_kb_gen_genome.py
@@ -18,7 +18,6 @@ def setUp(self):
# The knowledge base that is needed for the KBComponentGenerator
# Creates the GenomeGenerator object and sets the parameters as given
self.whole_gen = kb_gen.KbGenerator(options={

'component': {
'PropertiesGenerator': {

@@ -33,15 +32,13 @@ def setUp(self):
component_options = self.whole_gen.options.get('component', {})

self.options = component_options.get('GenomeGenerator', {})

self.gen = self.whole_gen.component_generators[1]


component_options = self.whole_gen.options.get('component', {})

self.options = component_options.get('GenomeGenerator', {})

def test_init(self):
self.assertEqual(type(self.gen), genome.GenomeGenerator)
self.assertEqual(type(self.whole_gen), kb_gen.KbGenerator)

def test_num_chromosomes(self):
chromosomes = self.kb.cell.species_types.get(

0 comments on commit 3dcb2d6

Please sign in to comment.
You can’t perform that action at this time.