diff options
author | Dmitry B <oxitnik@gmail.com> | 2017-10-06 22:12:22 +0300 |
---|---|---|
committer | Dmitry B <oxitnik@gmail.com> | 2017-10-06 22:12:22 +0300 |
commit | e8e8ff123b1efead6618c08ea960203644d05a95 (patch) | |
tree | 4330f3cc1dad69c80e9e82306696a8a1ad597f61 /tests/test_rowlimit.py | |
parent | 0ccf008cf85abe63f0415aae74f6667107302c3b (diff) |
comments for 'Use termporary config in tests'
Diffstat (limited to 'tests/test_rowlimit.py')
-rw-r--r-- | tests/test_rowlimit.py | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/tests/test_rowlimit.py b/tests/test_rowlimit.py index fd732eec..91389a15 100644 --- a/tests/test_rowlimit.py +++ b/tests/test_rowlimit.py @@ -3,6 +3,9 @@ from mock import Mock import pytest +# We need this fixtures beacause we need PGCli object to be created +# after test collection so it has config loaded from temp directory + @pytest.fixture(scope="module") def default_pgcli_obj(): return PGCli() |