Beispiel #1
0
 def test_run_name(self):
     result1 = run(self.zoo, "", "Foo", False, self.state)
     result2 = Table.transpose(self.zoo, feature_name="Foo")
     self.assert_table_equal(result1, result2)
Beispiel #2
0
 def test_run_callback(self):
     self.state.set_progress_value = Mock()
     run(self.zoo, "", "Feature", False, self.state)
     self.state.set_progress_value.assert_called()
Beispiel #3
0
 def test_run_var(self):
     result = run(self.zoo, "name", "Feature", False, self.state)
     self.assert_table_equal(Table.transpose(self.zoo, "name"), result)