mirror of
https://github.com/PostHog/posthog.git
synced 2024-12-01 12:21:02 +01:00
c7c42b1a64
* Tiny rename * Minor refactor * Test on FeatureFlagMatcher * Add a field to feature_flag indicating if aggregating by groups * Use f-strings * Handle property filter building for group property * Rename is_person_query * Add message * Tests for property_to_Q changes * Add tests for groups w/ rollout * Add comment for my_flags * Hook up decide with groups * New test helper for snapshotting pg queries * Add snapshot tests for feature flags * More is_simple_flag tests * Add decide endpoint tests * move conftest for ee tests to work * Fix typo * conftest troubles
8 lines
163 B
Python
8 lines
163 B
Python
import pytest
|
|
|
|
|
|
# :TRICKY: Integrate syrupy with unittest test cases
|
|
@pytest.fixture
|
|
def unittest_snapshot(request, snapshot):
|
|
request.cls.snapshot = snapshot
|