We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7ab3310 commit abdddadCopy full SHA for abdddad
tests/test_context.py
@@ -91,6 +91,12 @@ def test_state_is_stored_separately_per_async_context():
91
assert client1.feature_flags == []
92
assert client2.feature_flags == []
93
94
+ client1.add_feature_flag('a')
95
+ client2.add_feature_flag('b')
96
+
97
+ assert client1.feature_flags == [FeatureFlag('a')]
98
+ assert client2.feature_flags == [FeatureFlag('b')]
99
100
async def mutate_state(id):
101
create_new_context()
102
@@ -135,5 +141,5 @@ async def test():
135
141
finally:
136
142
loop.close()
137
143
138
- assert client1.feature_flags == []
139
- assert client2.feature_flags == []
144
145
0 commit comments