Skip to content

Commit b3973ae

Browse files
committed
Fix: remove blanks in conftest
1 parent d5fdd85 commit b3973ae

2 files changed

Lines changed: 4 additions & 4 deletions

File tree

src/httpx_render.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,4 +32,4 @@
3232
response = httpx.post('https://census-project-xki0.onrender.com/predict/',
3333
json=sample)
3434
print(f'response status code: {response.status_code}')
35-
print(f'response content:\n{response.content}')
35+
print(f'response content:\n{response.content}')

tests/conftest.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -46,11 +46,11 @@ def raw_test_data() -> pd.DataFrame:
4646
4747
Returns:
4848
Subset dataframe with 1500 rows loaded from original csv file
49-
"""
49+
"""
5050
try:
5151
# data = './df_test_1500raw.csv'
5252
ROOT = os.getcwd()
53-
filepath = os.path.join(ROOT, config_file['etl']['test_data_orig_census'])
53+
filepath = os.path.join(ROOT, config_file['etl']['test_data_orig_census'])
5454
return pd.read_csv(filepath)
5555
except Exception as e:
5656
pytest.fail(f"Fixture with 1500 orig rows: exc: {e}")
@@ -67,7 +67,7 @@ def cleaned_test_data() -> pd.DataFrame:
6767
try:
6868
# data = './df_test_1500raw.csv'
6969
ROOT = os.getcwd()
70-
filepath = os.path.join(ROOT, config_file['etl']['test_data_orig_census'])
70+
filepath = os.path.join(ROOT, config_file['etl']['test_data_orig_census'])
7171
return clean_data(pd.read_csv(filepath)[:200], config_file)
7272
except Exception as e:
7373
pytest.fail(f"Fixture with 200 cleaned rows: exc: {e}")

0 commit comments

Comments
 (0)