Skip to content

Commit

Permalink
lint: appease linter
Browse files Browse the repository at this point in the history
  • Loading branch information
shrouxm committed Oct 30, 2024
1 parent a60d193 commit ac4a2e4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions terraso_backend/tests/graphql/mutations/test_soil_data.py
Original file line number Diff line number Diff line change
Expand Up @@ -1015,7 +1015,7 @@ def test_push_soil_data_success(client, user):
site.soil_data.depth_intervals.get(
depth_interval_start=0, depth_interval_end=10
).soil_texture_enabled
== True
is True
)
assert not site.soil_data.depth_intervals.filter(
depth_interval_start=10, depth_interval_end=20
Expand All @@ -1030,6 +1030,6 @@ def test_push_soil_data_success(client, user):
assert history.soil_data_changes["depth_dependent_data"][0]["clay_percent"] == 10
assert history.soil_data_changes["depth_intervals"][0]["depth_interval"]["start"] == 0
assert history.soil_data_changes["depth_intervals"][0]["depth_interval"]["end"] == 10
assert history.soil_data_changes["depth_intervals"][0]["soil_texture_enabled"] == True
assert history.soil_data_changes["depth_intervals"][0]["soil_texture_enabled"] is True
assert history.soil_data_changes["deleted_depth_intervals"][0]["start"] == 10
assert history.soil_data_changes["deleted_depth_intervals"][0]["end"] == 20

0 comments on commit ac4a2e4

Please sign in to comment.