Skip to content

Commit

Permalink
Fix test (#151)
Browse files Browse the repository at this point in the history
* switching to test another branch

* first pass at card data

* data being piped through

* styling

* a few stylistic cleanups

* city fips import

* test breaking

* reworking with compatibility for django tests
  • Loading branch information
meganhmoore committed May 21, 2024
1 parent 30fdff1 commit 3e0a1bd
Showing 1 changed file with 1 addition and 9 deletions.
10 changes: 1 addition & 9 deletions app/route_rangers_api/tests/test_demographic_for_heatmap.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,7 @@
import pandas as pd
import geopandas as gpd
from shapely.geometry import Point
import os

current_dir = os.path.dirname(os.path.abspath(__file__))
parent_dir = os.path.abspath(os.path.join(current_dir, "../../"))
from ..utils.heatmap_data_prep import calculate_demographic_metrics
from route_rangers_api.utils.heatmap_data_prep import calculate_demographic_metrics


class TestCalculateDemographicMetrics(unittest.TestCase):
Expand Down Expand Up @@ -83,7 +79,3 @@ def test_calculate_demographic_metrics(self):
expected_df = expected_df[result_columns]

pd.testing.assert_frame_equal(result_df, expected_df)


if __name__ == "__main__":
unittest.main()

0 comments on commit 3e0a1bd

Please sign in to comment.