Skip to content

Commit

Permalink
Spanner: clean up databases after use
Browse files Browse the repository at this point in the history
  • Loading branch information
chemelnucfin committed Dec 8, 2017
1 parent 0dbccac commit c09950b
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions spanner/tests/system/test_system.py
Original file line number Diff line number Diff line change
Expand Up @@ -118,6 +118,9 @@ def setUpModule():
def tearDownModule():
if CREATE_INSTANCE:
Config.INSTANCE.delete()
else:
for database in Config.INSTANCE.list_databases():
database.drop()


class TestInstanceAdminAPI(unittest.TestCase):
Expand Down

0 comments on commit c09950b

Please sign in to comment.