0
0
mirror of https://github.com/PostHog/posthog.git synced 2024-12-01 12:21:02 +01:00
posthog/ee/api/test
Karl-Aksel Puulmann 3412eed230
refactor: Remove constance library dependency, use json-encoded model (#9852)
* Populate the new model

* Add constance to admin

* Handle table not existing

* Add model tests

* Add tests for the constance model

* Fixup migrations

* Update instance settings to use new constance model

* update most readings

* Use override method in some tests

* Improve typing

* Prettier

* Merge 233 migration

* Order imports

* Fixup

* Update some query counts

* Remove dead import

* Improve some mypy

* Update team.py

* Remove constance library

* Mark migration as non-atomic

* Instance settings cleanup

* Rename methods to be more consistent

* Fixup for migration

* Update tests
2022-05-20 15:12:37 +03:00
..
__snapshots__ feat(sharding): Remove CLICKHOUSE_REPLICATION (#9013) 2022-03-16 10:27:39 +02:00
fixtures feat(sso): Multitenant SAML (#9225) 2022-03-31 11:04:12 +02:00
__init__.py
base.py ci(flake8): enable unused import check (#8714) 2022-03-08 09:53:54 +01:00
test_action.py fix: uniqueness constraint on Tagged Items (#8824) 2022-03-09 09:46:21 -08:00
test_authentication.py feat(sso): Multitenant SAML (#9225) 2022-03-31 11:04:12 +02:00
test_capture.py perf(events): limit select clause when getting ingest requirements (#8381) 2022-02-02 13:46:44 +00:00
test_dashboard_collaborators.py ci(flake8): enable unused import check (#8714) 2022-03-08 09:53:54 +01:00
test_dashboard.py fix: uniqueness constraint on Tagged Items (#8824) 2022-03-09 09:46:21 -08:00
test_event_definition.py feat(data-management): add include/exclude api filters for definitions (#8937) 2022-03-11 12:56:47 -08:00
test_hooks.py fix(hooks): validate domain name (#9146) 2022-03-22 11:09:12 +01:00
test_insight.py feat(insights): dashboards insights many-to-many another attempt (#9416) 2022-04-22 09:03:22 +01:00
test_instance_settings.py refactor: Remove constance library dependency, use json-encoded model (#9852) 2022-05-20 15:12:37 +03:00
test_license.py feat(billing): Allow cancelling of licenses (#9760) 2022-05-18 13:23:19 +02:00
test_organization.py fix(licensing): Use most recently activated license instead of least (#9461) 2022-04-20 13:33:41 +02:00
test_property_definition.py feat(data-management): add include/exclude api filters for definitions (#8937) 2022-03-11 12:56:47 -08:00
test_tagged_item.py fix: uniqueness constraint on Tagged Items (#8824) 2022-03-09 09:46:21 -08:00
test_team_memberships.py Don't allow user to set current team that they don't have access to (#8256) 2022-01-26 16:35:49 +00:00
test_team.py Warn when dashboard is available (#8262) 2022-01-27 18:49:29 +00:00