Skip to content

Commit

Permalink
remove the test using the hard-coded sqlalchemy uri.
Browse files Browse the repository at this point in the history
This leaves two tests: one that uses the password-masked uri, and the other that uses the uri with the password included.
  • Loading branch information
dennisobrien committed Sep 15, 2016
1 parent cdb621a commit 78588d5
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions tests/core_tests.py
Original file line number Diff line number Diff line change
Expand Up @@ -115,10 +115,6 @@ def test_misc(self):
assert self.client.get('/ping').data.decode('utf-8') == "OK"

def test_testconn(self):
data = json.dumps({'uri': 'sqlite:////tmp/caravel_unittests.db'})
response = self.client.post('/caravel/testconn', data=data, content_type='application/json')
assert response.status_code == 200

database = (
db.session
.query(models.Database)
Expand Down

0 comments on commit 78588d5

Please sign in to comment.