TST: overwrite_sim_params=False in tests when using list of sources

When specifying a list of sources to algorithm.py:run in a unit test,
specify overwrite_sim_params=False to suppress the unnessary
UserWarning.
This commit is contained in:
Jonathan Kamens
2015-04-30 15:30:19 -04:00
parent 8f9f65bdc6
commit 5c546b4f6c
3 changed files with 3 additions and 3 deletions
+1 -1
View File
@@ -331,7 +331,7 @@ class TestTransformAlgorithm(TestCase):
sim_params=sim_params,
sids=[0, 1, 133]
)
algo.run([self.source, self.df_source])
algo.run([self.source, self.df_source], overwrite_sim_params=False)
self.assertEqual(len(algo.sources), 2)
def test_df_as_input(self):