Skip to content

Commit

Permalink
fixing the condition for GET request check
Browse files Browse the repository at this point in the history
  • Loading branch information
punamverma committed Dec 16, 2023
1 parent 2e4d228 commit d09dab5
Showing 1 changed file with 2 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,6 @@
)
from monitoring.monitorlib.temporal import TimeDuringTest
import arrow
from implicitdict import StringBasedDateTime

from monitoring.monitorlib.temporal import Time
from monitoring.monitorlib.clients.flight_planning.client import FlightPlannerClient
from monitoring.uss_qualifier.resources.astm.f3548.v21 import DSSInstanceResource
Expand Down Expand Up @@ -195,8 +193,7 @@ def _tested_uss_plans_deconflicted_flight_near_existing_flight(
validator.expect_shared(
flight_1,
)

if tested_uss_notified:
if not tested_uss_notified:
expect_get_requests_to_mock_uss_when_no_notification(
self,
self.control_uss,
Expand Down Expand Up @@ -291,7 +288,7 @@ def _tested_uss_unable_to_plan_flight_near_invalid_shared_existing_flight(
)
validator.expect_not_shared()

if tested_uss_notified:
if not tested_uss_notified:
expect_get_requests_to_mock_uss_when_no_notification(
self,
self.control_uss,
Expand Down

0 comments on commit d09dab5

Please sign in to comment.