Other thing to notice about our airline0 test experience: the file is tests, but the
command is for 'test'. Only those elements covered so far will be tested.
What is being tested. From models.py, there is a defintion of a 'valid' flight
entry. This is what we are then testing for. And our dummy inputs do violate
logical conditions: departure and arrival be different places, and duration be greater
than 0...
* * *
The other tests in the set:
They all passed but some things should be noted. It is all in the question:
Currently all tests are okay. Each gets a 200 code. Bit that includes asserts
that are false!!
No comments:
Post a Comment