Created
September 17, 2016 16:17
-
-
Save synic/64e4835043765a1d6222c06d9c25f882 to your computer and use it in GitHub Desktop.
This file contains hidden or 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_stuff(): | |
reservation = factory.ReservationFactory.create() | |
db.session.commit() | |
#... run PUT request | |
# refresh the reservation so we can test that the PUT did it's thing | |
db.session.refresh(reservation) | |
self.assertEquals(reservation.title, ... |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment