Created
October 25, 2014 05:38
-
-
Save SRomansky/7f7e7a937dd9618fb3c7 to your computer and use it in GitHub Desktop.
misunderstanding of mvc
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
def test_psyduck(db, presentation): | |
presentations_model_before = db.get_presentations_model() | |
assert presentations_model_before.rowCount() == 0 | |
db.insert_presentation(presentation) | |
presentations_model_after = db.get_presentations_model() | |
assert presentations_model_after.rowCount() == 1 # Explosions, failures, such disappoint. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment