TESTed - Python: how to test multiple outputs of a function? #5399
Answered
by
niknetniko
marcothijs
asked this question in
Questions - Vragen
-
Please check out https://dodona.be/nl/activities/1805655600/
I've put the lines in comment so the rest of the script will test ok. How to fix this? |
Beta Was this translation helpful? Give feedback.
Answered by
niknetniko
Feb 28, 2024
Replies: 1 comment 1 reply
-
YAML only supports lists, so you need to use tags to "cast" the value to the correct type: - expression: "ipv4_informatie('192.168.1.10')"
return: !tuple ['C', '192.168.1.0', '255.255.255.0', '192.168.1.255'] |
Beta Was this translation helpful? Give feedback.
1 reply
Answer selected by
marcothijs
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
YAML only supports lists, so you need to use tags to "cast" the value to the correct type: