Skip to content

Commit

Permalink
Better indenting in a test
Browse files Browse the repository at this point in the history
  • Loading branch information
sebastian-quintero committed Dec 8, 2023
1 parent c3c983f commit f323172
Showing 1 changed file with 8 additions and 2 deletions.
10 changes: 8 additions & 2 deletions tests/nextroute/schema/test_input.py
Original file line number Diff line number Diff line change
Expand Up @@ -28,8 +28,14 @@ def test_from_dict(self):
input = Input.from_dict(expected)
stops = input.stops
for stop in stops:
self.assertTrue(isinstance(stop, Stop), f"Stop {stop} should be of type Stop.")
self.assertTrue(
isinstance(stop, Stop),
f"Stop {stop} should be of type Stop.",
)

vehicles = input.vehicles
for vehicle in vehicles:
self.assertTrue(isinstance(vehicle, Stop), f"Vehicle {vehicle} should be of type Vehicle.")
self.assertTrue(
isinstance(vehicle, Stop),
f"Vehicle {vehicle} should be of type Vehicle.",
)

0 comments on commit f323172

Please sign in to comment.