Skip to content

Commit

Permalink
restructure tests
Browse files Browse the repository at this point in the history
  • Loading branch information
adamltyson committed Jul 23, 2024
1 parent 14305ba commit d1563f6
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions tests/tests/test_brainmapper/test_transform_widget.py
Original file line number Diff line number Diff line change
Expand Up @@ -102,6 +102,11 @@
)


@pytest.fixture
def sample_dataframe():
return pd.DataFrame({"column1": [1, 2, 3], "column2": ["a", "b", "c"]})


@pytest.fixture
def random_json_path(tmp_path):
json_path = tmp_path / "random_json.json"
Expand All @@ -123,7 +128,7 @@ def mock_display_info(mocker):
)


@pytest.fixture
@pytest.fixture(scope="function")
def transformation_widget_with_transformed_points(
transformation_widget_with_data,
):
Expand Down Expand Up @@ -415,11 +420,6 @@ def test_analysis(transformation_widget_with_transformed_points):
)


@pytest.fixture
def sample_dataframe():
return pd.DataFrame({"column1": [1, 2, 3], "column2": ["a", "b", "c"]})


def test_save_df_to_csv(
mocker,
transformation_widget_with_transformed_points,
Expand Down

0 comments on commit d1563f6

Please sign in to comment.