Skip to content

Commit 4ba2fb2

Browse files
author
Matias Melograno
committed
fixed test
1 parent 85a2cd5 commit 4ba2fb2

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

tests/client/test_factory.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
# pylint: disable=no-self-use,protected-access,line-too-long,too-many-statements
33
# pylint: disable=too-many-locals, too-many-arguments
44

5+
import os
56
import time
67
import threading
78
from splitio.client.factory import get_factory, SplitFactory, _INSTANTIATED_FACTORIES, Status,\
@@ -566,7 +567,8 @@ def test_error_prefork(self, mocker):
566567
mocker.call('Cannot call handle_post_fork')
567568
]
568569

569-
factory = get_factory("localhost")
570+
filename = os.path.join(os.path.dirname(__file__), '../integration/files', 'file2.yaml')
571+
factory = get_factory('localhost', config={'splitFile': filename})
570572
factory.block_until_ready(1)
571573

572574
_logger = mocker.Mock()

0 commit comments

Comments
 (0)