diff options
| author | deepsource-autofix[bot] <62050782+deepsource-autofix[bot]@users.noreply.github.com> | 2024-08-23 10:47:15 +0000 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-08-23 10:47:15 +0000 |
| commit | c3e04ab0415ddeedfa1a304296aa0e34fb5f2a1f (patch) | |
| tree | cebd073fce0b524ebda4b7adbf3d916d6f5213aa /tests | |
| parent | 3ff2182b8256594dfbfe7d8c7480d2ee70067ce5 (diff) | |
| download | de-project-bentley-c3e04ab0415ddeedfa1a304296aa0e34fb5f2a1f.tar.gz de-project-bentley-c3e04ab0415ddeedfa1a304296aa0e34fb5f2a1f.zip | |
style: format code with Autopep8, Black and Ruff Formatter
This commit fixes the style issues introduced in 3ff2182 according to the output
from Autopep8, Black and Ruff Formatter.
Details: https://github.com/ajschofield/de-project-bentley/pull/93
Diffstat (limited to 'tests')
| -rw-r--r-- | tests/test_fact_sales_order.py | 16 |
1 files changed, 9 insertions, 7 deletions
diff --git a/tests/test_fact_sales_order.py b/tests/test_fact_sales_order.py index c4fc9f4..dad245e 100644 --- a/tests/test_fact_sales_order.py +++ b/tests/test_fact_sales_order.py @@ -1,13 +1,13 @@ -<<<<<<< Updated upstream +import pandas as pd +from fact_sales_order import create_dim_design, create_dim_staff, create_dim_currency from src.fact_sales_order import ( create_dim_design, create_dim_staff, create_dim_currency, ) -======= -from fact_sales_order import create_dim_design, create_dim_staff, create_dim_currency ->>>>>>> Stashed changes -import pandas as pd +<< << << < Updated upstream +== == == = +>>>>>> > Stashed changes class TestCreateDimDesign: @@ -60,7 +60,8 @@ class TestCreateDimStaff: "email_address": ["Hello", "Bye"], "department_id": ["Hello", "Bye"], } - test_df = {"staff": pd.DataFrame(data=d), "department": pd.DataFrame(data=d2)} + test_df = {"staff": pd.DataFrame( + data=d), "department": pd.DataFrame(data=d2)} result = create_dim_staff(test_df) assert isinstance(result, pd.DataFrame) @@ -77,7 +78,8 @@ class TestCreateDimStaff: "email_address": ["Hello", "Bye"], "department_id": ["Hello", "Bye"], } - test_df = {"staff": pd.DataFrame(data=d), "department": pd.DataFrame(data=d2)} + test_df = {"staff": pd.DataFrame( + data=d), "department": pd.DataFrame(data=d2)} result = create_dim_staff(test_df) expected_d = { "staff_id": ["Hello", "Bye"], |
