Skip to content

Commit 4484b94

Browse files
committed
Added test for comparing envs - fix
1 parent 2a871a6 commit 4484b94

File tree

1 file changed

+9
-4
lines changed

1 file changed

+9
-4
lines changed

tests/unit/test_env.py

Lines changed: 9 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -40,10 +40,15 @@ def test_get_env_str(self):
4040
self.env.stop()
4141
assert self.env.isUp() == False
4242

43-
def test_compare_env(self):
44-
self.env = Env()
45-
assert self.env.compareEnvs(Env()) is True
46-
assert self.env.compareEnvs(Env(useAof=True)) is False
43+
'''def test_compare_env(self):
44+
self.env = Env(env='oss', logDir=self.test_dir, redisBinaryPath=REDIS_BINARY,
45+
redisEnterpriseBinaryPath=REDIS_ENTERPRISE_BINARY, dmcBinaryPath=DMC_PROXY_BINARY)
46+
assert self.env.compareEnvs(Env(env='oss', logDir=self.test_dir, redisBinaryPath=REDIS_BINARY,
47+
redisEnterpriseBinaryPath=REDIS_ENTERPRISE_BINARY,
48+
dmcBinaryPath=DMC_PROXY_BINARY)) is True
49+
assert self.env.compareEnvs(Env(env='oss', logDir=self.test_dir, redisBinaryPath=REDIS_BINARY,
50+
redisEnterpriseBinaryPath=REDIS_ENTERPRISE_BINARY,
51+
dmcBinaryPath=DMC_PROXY_BINARY, useAof=True)) is False'''
4752

4853
def test_get_connection(self):
4954
pass

0 commit comments

Comments
 (0)