Skip to content

Commit 4c48e9b

Browse files
committed
cleanup
1 parent 2aaa79d commit 4c48e9b

File tree

2 files changed

+10
-11
lines changed

2 files changed

+10
-11
lines changed

tests/integration/test_client_e2e.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1190,7 +1190,6 @@ def setup_method(self):
11901190
self.pluggable_storage_adapter.set(segment_storage._prefix.format(segment_name=data['name']), set(data['added']))
11911191
self.pluggable_storage_adapter.set(segment_storage._segment_till_prefix.format(segment_name=data['name']), data['till'])
11921192

1193-
11941193
def _validate_last_events(self, client, *to_validate):
11951194
"""Validate the last N impressions are present disregarding the order."""
11961195
event_storage = client._factory._get_storage('events')
@@ -1434,7 +1433,7 @@ def test_manager_methods(self):
14341433
assert len(manager.splits()) == 7
14351434

14361435
def teardown_method(self):
1437-
"""Clear redis cache."""
1436+
"""Clear pluggable cache."""
14381437
keys_to_delete = [
14391438
"SPLITIO.segment.human_beigns",
14401439
"SPLITIO.segment.employees.till",

tests/integration/test_pluggable_integration.py

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
"""Redis storage end to end tests."""
1+
"""Pluggable storage end to end tests."""
22
#pylint: disable=no-self-use,protected-access,line-too-long,too-few-public-methods
33

44
import json
@@ -15,7 +15,7 @@ class PluggableSplitStorageIntegrationTests(object):
1515
"""Pluggable Split storage e2e tests."""
1616

1717
def test_put_fetch(self):
18-
"""Test storing and retrieving splits in redis."""
18+
"""Test storing and retrieving splits in pluggable."""
1919
adapter = StorageMockAdapter()
2020
try:
2121
storage = PluggableSplitStorage(adapter)
@@ -127,10 +127,10 @@ def test_get_all(self):
127127

128128

129129
class PluggableSegmentStorageIntegrationTests(object):
130-
"""Redis Segment storage e2e tests."""
130+
"""Pluggable Segment storage e2e tests."""
131131

132132
def test_put_fetch_contains(self):
133-
"""Test storing and retrieving splits in redis."""
133+
"""Test storing and retrieving splits in pluggable."""
134134
adapter = StorageMockAdapter()
135135
try:
136136
storage = PluggableSegmentStorage(adapter)
@@ -164,7 +164,7 @@ def _put_impressions(self, adapter, metadata):
164164

165165

166166
def test_put_fetch_contains(self):
167-
"""Test storing and retrieving splits in redis."""
167+
"""Test storing and retrieving splits in pluggable."""
168168
adapter = StorageMockAdapter()
169169
try:
170170
self._put_impressions(adapter, get_metadata({}))
@@ -179,7 +179,7 @@ def test_put_fetch_contains(self):
179179
adapter.delete('SPLITIO.impressions')
180180

181181
def test_put_fetch_contains_ip_address_disabled(self):
182-
"""Test storing and retrieving splits in redis."""
182+
"""Test storing and retrieving splits in pluggable."""
183183
adapter = StorageMockAdapter()
184184
try:
185185
cfg = DEFAULT_CONFIG.copy()
@@ -197,7 +197,7 @@ def test_put_fetch_contains_ip_address_disabled(self):
197197

198198

199199
class PluggableEventsStorageIntegrationTests(object):
200-
"""Redis Events storage e2e tests."""
200+
"""Pluggable Events storage e2e tests."""
201201
def _put_events(self, adapter, metadata):
202202
storage = PluggableEventsStorage(adapter, metadata)
203203
storage.put([
@@ -216,7 +216,7 @@ def _put_events(self, adapter, metadata):
216216
])
217217

218218
def test_put_fetch_contains(self):
219-
"""Test storing and retrieving splits in redis."""
219+
"""Test storing and retrieving splits in pluggable."""
220220
adapter = StorageMockAdapter()
221221
try:
222222
self._put_events(adapter, get_metadata({}))
@@ -230,7 +230,7 @@ def test_put_fetch_contains(self):
230230
adapter.delete('SPLITIO.events')
231231

232232
def test_put_fetch_contains_ip_address_disabled(self):
233-
"""Test storing and retrieving splits in redis."""
233+
"""Test storing and retrieving splits in pluggable."""
234234
adapter = StorageMockAdapter()
235235
try:
236236
cfg = DEFAULT_CONFIG.copy()

0 commit comments

Comments
 (0)