diff --git a/lib/carbon/tests/test_routers.py b/lib/carbon/tests/test_routers.py index f6309e8f..8cc3e476 100644 --- a/lib/carbon/tests/test_routers.py +++ b/lib/carbon/tests/test_routers.py @@ -54,5 +54,5 @@ def testBasic(self): router.addDestination(parseDestination(destination)) self.assertEqual( len(list(router.getDestinations('foo.bar'))), - settings['REPLICATION_FACTOR'] + len(DESTINATIONS) if plugin == 'constant' else settings['REPLICATION_FACTOR'] )