mirror of
https://github.com/apache/superset.git
synced 2026-04-20 00:24:38 +00:00
committed by
Maxime Beauchemin
parent
256a521bf1
commit
e834154030
@@ -284,6 +284,7 @@ class CoreTests(SupersetTestCase):
|
||||
})
|
||||
response = self.client.post('/superset/testconn', data=data, content_type='application/json')
|
||||
assert response.status_code == 200
|
||||
assert response.headers['Content-Type'] == 'application/json'
|
||||
|
||||
# validate that the endpoint works with the decrypted sqlalchemy uri
|
||||
data = json.dumps({
|
||||
@@ -292,6 +293,7 @@ class CoreTests(SupersetTestCase):
|
||||
})
|
||||
response = self.client.post('/superset/testconn', data=data, content_type='application/json')
|
||||
assert response.status_code == 200
|
||||
assert response.headers['Content-Type'] == 'application/json'
|
||||
|
||||
def test_databaseview_edit(self, username='admin'):
|
||||
# validate that sending a password-masked uri does not over-write the decrypted uri
|
||||
|
||||
Reference in New Issue
Block a user