Skip to content

Instantly share code, notes, and snippets.

@SRomansky
Created October 25, 2014 05:38
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save SRomansky/7f7e7a937dd9618fb3c7 to your computer and use it in GitHub Desktop.
Save SRomansky/7f7e7a937dd9618fb3c7 to your computer and use it in GitHub Desktop.
misunderstanding of mvc
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