Skip to content

Commit

Permalink
debug action
Browse files Browse the repository at this point in the history
  • Loading branch information
julienthevenoz committed Jan 19, 2024
1 parent 0080468 commit c622fce
Showing 1 changed file with 10 additions and 10 deletions.
20 changes: 10 additions & 10 deletions systemtests/test_flights.py
Original file line number Diff line number Diff line change
Expand Up @@ -178,16 +178,16 @@ def test_figure8(self):


if __name__ == '__main__':
# from argparse import ArgumentParser
# import sys
# parser = ArgumentParser(description="Runs (real or simulated) flight tests with pytest framework")
# parser.add_argument("--sim", action="store_true", help="Runs the test from the simulation backend")
# args, other_args = parser.parse_known_args()
# if args.sim :
# TestFlights.SIM = True
from argparse import ArgumentParser
import sys
parser = ArgumentParser(description="Runs (real or simulated) flight tests with pytest framework")
parser.add_argument("--sim", action="store_true", help="Runs the test from the simulation backend")
args, other_args = parser.parse_known_args()
if args.sim :
TestFlights.SIM = True

# unittest.main(argv=[sys.argv[0]] + other_args)
unittest.main(argv=[sys.argv[0]] + other_args)


TestFlights.SIM = True
unittest.main()
# TestFlights.SIM = True
# unittest.main()

0 comments on commit c622fce

Please sign in to comment.