def test_isconnected_beforeconnect(self):
        hostlist, user, password = TestBaseClass.get_hosts()
        config = {'hosts': hostlist}
        self.client = aerospike.client(config)
        assert self.client.is_connected() == False
        if user is None and password is None:
            self.client.connect()
        else:
            self.client.connect(user, password)
        assert self.client.is_connected() == True
        self.client.close()
Entry point for running a test file directly.
dataset/ETHPy150Open aerospike/aerospike-client-python/test/old_tests/test_is_connected.py/TestIsconnected.test_isconnected_beforeconnect--crossover with--dataset/ETHPy150Open Yelp/Testify/testify/test_program.py/run