From 2e25c3f917762d3d1682b17e68b9bf3a14fea16c Mon Sep 17 00:00:00 2001 From: Plamen Valentinov Kolev Date: Wed, 7 Aug 2024 17:53:39 +0200 Subject: [PATCH] Fix integration test --- tests/integration/evaluation/test_single_table.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/integration/evaluation/test_single_table.py b/tests/integration/evaluation/test_single_table.py index 5c7106245..95e1b671e 100644 --- a/tests/integration/evaluation/test_single_table.py +++ b/tests/integration/evaluation/test_single_table.py @@ -36,8 +36,8 @@ def test_evaluation_metadata(): """Test ``evaluate_quality`` and ``run_diagnostic`` with Metadata.""" # Setup data = pd.DataFrame({'col': [1, 2, 3]}) - metadata = Metadata() - metadata.add_column('col', sdtype='numerical') + metadata_dict = {'columns': {'col': {'sdtype': 'numerical'}}} + metadata = Metadata.load_from_dict(metadata_dict) synthesizer = GaussianCopulaSynthesizer(metadata, default_distribution='truncnorm') # Run and Assert