Skip to content

Commit c0ba8f6

Browse files
committed
[REMOVE] - tests: remove duplicate get_solr method from SolrTestCase class.
1 parent e2475a6 commit c0ba8f6

File tree

1 file changed

+0
-7
lines changed

1 file changed

+0
-7
lines changed

tests/test_client.py

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -256,13 +256,6 @@ def assertURLStartsWith(self, URL, path):
256256
URL, "%s/%s" % (self.solr.url.replace("/core0", ""), path)
257257
)
258258

259-
def get_solr(self, collection, timeout=60, always_commit=False):
260-
return Solr(
261-
"http://localhost:8983/solr/%s" % collection,
262-
timeout=timeout,
263-
always_commit=always_commit,
264-
)
265-
266259
def test_init(self):
267260
self.assertEqual(self.solr.url, "http://localhost:8983/solr/core0")
268261
self.assertIsInstance(self.solr.decoder, json.JSONDecoder)

0 commit comments

Comments
 (0)