Questions tagged [plates]
The plates tag has no summary.
3 questions
0 votes
1 answer
86 views
PSET 5 Test plates : getting exit code 0 instead of 1
test_plates: from plates import is_valid def test_correct(): assert (is_valid("ASD123")) == True assert (is_valid("ASD")) == True assert (is_valid("AS2")) == ...
0 votes
2 answers
80 views
PS5: Vanity Plates : Expected exit code 0, not 1 while testing
After using check50 on my test_plates.py file, I get the following error and it doesn't further check anything ( "can't check until a frown turns upside down"): Cause expected exit code 0, ...
1 vote
1 answer
367 views
test_plates.py problem
What is the problem with my code for testing plates.py? this is the code : def main(): plate = input("Plate: ") if iss_valid(plate): print("Valid") else: ...