Skip to content

Commit 7545788

Browse files
authored
Merge pull request #506 from DhavalGojiya/tests/remove-duplicate-get-solr-func
[REMOVE] - tests: remove duplicate get_solr method from SolrTestCase class.
2 parents a71c4cf + c0ba8f6 commit 7545788

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)