mirror of
https://github.com/apache/superset.git
synced 2026-04-18 23:55:00 +00:00
[main] Disable resetting main DB attributes (#6845)
This commit is contained in:
@@ -646,15 +646,14 @@ class CoreTests(SupersetTestCase):
|
||||
main_db_uri = (
|
||||
db.session.query(models.Database)
|
||||
.filter_by(database_name='main')
|
||||
.all()
|
||||
.one()
|
||||
)
|
||||
|
||||
test_file = open(filename, 'rb')
|
||||
form_data = {
|
||||
'csv_file': test_file,
|
||||
'sep': ',',
|
||||
'name': table_name,
|
||||
'con': main_db_uri[0].id,
|
||||
'con': main_db_uri.id,
|
||||
'if_exists': 'append',
|
||||
'index_label': 'test_label',
|
||||
'mangle_dupe_cols': False,
|
||||
|
||||
Reference in New Issue
Block a user