Skip to content

Commit

Permalink
fix: skip redis tests on wercker for now
Browse files Browse the repository at this point in the history
  • Loading branch information
phantomas1234 committed Mar 3, 2016
1 parent a4c6c73 commit cd24982
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions tests/test_strain_design_heuristics.py
Expand Up @@ -592,6 +592,7 @@ def setUp(self):
self.population = [0, 1, 2, 3, 4, 5, 6, 7, 8, 9]
self.random = Random(SEED)

unittest.skipIf(os.getenv('WERCKER', False), 'Currently not working on wercker as redis is not running on localhost')
def test_migrator_constructor(self):
migrator = MultiprocessingMigrator(max_migrants=1)
self.assertIsInstance(migrator.migrants, RedisQueue)
Expand All @@ -605,6 +606,7 @@ def test_migrator_constructor(self):
self.assertIsInstance(migrator.migrants, RedisQueue)
self.assertEqual(migrator.max_migrants, 3)

unittest.skipIf(os.getenv('WERCKER', False), 'Currently not working on wercker as redis is not running on localhost')
def test_migrate_individuals_without_evaluation(self):
migrator = MultiprocessingMigrator(max_migrants=1)
self.assertIsInstance(migrator.migrants, RedisQueue)
Expand Down

0 comments on commit cd24982

Please sign in to comment.