AAfghahi
eadff5f41e
feat: invalid DB name error messages (MySQL/Postgres/Redshift) ( #14146 )
...
* initial DB custom errors for mysql
* added redshift and postgres
2021-04-15 08:02:47 -07:00
Beto Dealmeida
21f973f0bd
feat: error messages when connecting to MSSQL ( #14093 )
...
* feat: error messages when connecting to MSSQL
* Address comments
2021-04-14 10:57:58 -07:00
Beto Dealmeida
786dadc836
feat: invalid password error message (Postgres) ( #14038 )
2021-04-12 14:03:21 -07:00
Beto Dealmeida
c60a93db9c
feat: add extract_errors to Postgres ( #13997 )
...
* feat: add extract_errors to Postgres
* Add unit tests
* Fix lint
* Fix unit tests
2021-04-08 13:24:54 -07:00
Ville Brofeldt
13f7e0d755
feat(native-filters): add temporal support to select filter ( #13622 )
2021-03-18 16:15:43 +02:00
Karol Kostrzewa
fc5e311842
test: /postgres engine spec test coverage ( #12490 )
...
* add tests for PostgresEngineSpec.estimate_statement_cost
* add tests for PostgresEngineSpec.query_cost_formatter
* fix docstring
* fix dependency
* fix raise SyntaxError
2021-01-15 16:50:37 +02:00
Ville Brofeldt
40a334aacf
feat(db-engine-specs): add support for Postgres root cert ( #11720 )
...
* feat(db-engine-specs): add support for Postgres root cert
* remove logging of json decode exception message
* fix error message
* fix error message
2021-01-13 13:39:28 +02:00
Yongjie Zhao
22d8171dd6
chore(engine): adapt postgres backend connection URI ( #11233 )
...
* chore(engine): adapt postgres backend connection URI
* fix tests
* Update superset/db_engine_specs/__init__.py
Co-authored-by: Ville Brofeldt <33317356+villebro@users.noreply.github.com>
Co-authored-by: Ville Brofeldt <33317356+villebro@users.noreply.github.com>
2020-10-14 18:57:41 +03:00
Bogdan
4e340c8368
feat: Switch from nosetest to pytest ( #10177 )
...
* Switch from nosetest to pytest
Fix schedule tests
Collect pytest coverage
Move pytest config into pytest.ini
Move cov to the pytest.ini
* Append coverage for the 2nd run
* Add coverage to all commands
* Coverage only for tests
* Get coverage from 1 place
* Rename classes to be pytest compatible
* Test coverage for examples and tests
* Max diff to -1
* Explain how to run pytest for the whole project
* Do not append code coverage for the main run
* Do not run coverage on examples
Co-authored-by: bogdan kyryliuk <bogdankyryliuk@dropbox.com>
2020-06-29 15:36:06 -07:00
Daniel Vaz Gaspar
527bee5051
tests(engine_specs): full postgres engine coverage ( #9682 )
2020-04-29 18:20:25 +01:00
John Bodley
0a3b121244
[sql] Fixing datetime SQL literal ( #8464 )
2019-10-29 23:24:48 -07:00
Will Barrett
82b174701f
Split up tests/db_engine_test.py ( #8449 )
...
* Split up db_engine_specs_test.py into a number of targeted files
* Remove db_engine_specs_test.py
* isort
2019-10-24 20:46:45 -07:00