Created
February 9, 2012 08:33
-
-
Save mharju/1778485 to your computer and use it in GitHub Desktop.
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
# wat am i doing wrong here? | |
def setUp(self): | |
cursor = connection.cursor() | |
script = open('epic/sql/player.sql').read() | |
cursor.execute(script) | |
transaction.commit_unless_managed() | |
def tearDown(self): | |
cursor = connection.cursor() | |
cursor.execute('DROP VIEW epic_players_with_points') | |
transaction.commit_unless_managed() |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment