Skip to content

Commit

Permalink
Update tests/test_generators.py
Browse files Browse the repository at this point in the history
Co-authored-by: Taylor Turner <[email protected]>
  • Loading branch information
ksneab7 and taylorfturner committed Sep 27, 2023
1 parent c1bfa3d commit 8d65506
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions tests/test_generators.py
Original file line number Diff line number Diff line change
Expand Up @@ -405,15 +405,17 @@ def test_get_ordered_column_integration(self, mock_report, mock_warning):
[4, "wqfed", "yellow", 7.775666, "2026-02-04"],
[4, "wsde", "yellow", 7.818521, "2027-06-13"],
]
categories = [
expected_column_names = [
"test_column_1",
"test_column_2",
"test_column_3",
"test_column_4",
"test_column_5",
]

expected_data = [dict(zip(categories, item)) for item in expected_array]
expected_data = [
dict(zip(expected_column_names, item)) for item in expected_array
]
expected_df = pd.DataFrame(expected_data)

actual_df = generator.synthesize(20)
Expand Down

0 comments on commit 8d65506

Please sign in to comment.