예제 #1
0
class SolrCLITestCase(unittest.TestCase):
    def setUp(self):
        self.cli = SolrCLI()

    def tearDown(self):
        pass

    def test_connect(self):
        self.cli.do_connect('http://localhost:8983/solr')
        self.assertTrue(self.cli.connected)
예제 #2
0
파일: tests.py 프로젝트: moliware/solr_cli
class SolrCLITestCase(unittest.TestCase):

    def setUp(self):
        self.cli = SolrCLI()

    def tearDown(self):
        pass

    def test_connect(self):
        self.cli.do_connect('http://localhost:8983/solr')
        self.assertTrue(self.cli.connected)
예제 #3
0
 def setUp(self):
     self.cli = SolrCLI()
예제 #4
0
파일: tests.py 프로젝트: moliware/solr_cli
 def setUp(self):
     self.cli = SolrCLI()