Rfaulk has submitted this change and it was merged.
Change subject: fix - refs to config_local.
......................................................................
fix - refs to config_local.
Change-Id: I95d72130d0cb57574831873ec5db7fab411ba74d
---
M sartoris/tests/test.py
1 file changed, 7 insertions(+), 7 deletions(-)
Approvals:
Rfaulk: Verified; Looks good to me, approved
jenkins-bot: Verified
diff --git a/sartoris/tests/test.py b/sartoris/tests/test.py
index d4d0da0..06797c7 100644
--- a/sartoris/tests/test.py
+++ b/sartoris/tests/test.py
@@ -48,12 +48,12 @@
log.info(__name__ + ':: Creating test repo.')
- if exists(config_local.TEST_REPO):
- rmtree(config_local.TEST_REPO)
+ if exists(config['deploy.test_repo']):
+ rmtree(config['deploy.test_repo'])
- mkdir(config_local.TEST_REPO)
- Repo.init(config_local.TEST_REPO)
- chdir(config_local.TEST_REPO)
+ mkdir(config['deploy.test_repo'])
+ Repo.init(config['deploy.test_repo'])
+ chdir(config['deploy.test_repo'])
def teardown_tmp_repo():
@@ -63,8 +63,8 @@
log.info(__name__ + ':: Tearing down test repo.')
- chdir(config_local.PROJECT_HOME)
- rmtree(config_local.TEST_REPO)
+ chdir(config['deploy.test_repo'])
+ rmtree(config['deploy.test_repo'])
class TestSartorisInit(unittest.TestCase):
--
To view, visit https://gerrit.wikimedia.org/r/91357
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings
Gerrit-MessageType: merged
Gerrit-Change-Id: I95d72130d0cb57574831873ec5db7fab411ba74d
Gerrit-PatchSet: 1
Gerrit-Project: sartoris
Gerrit-Branch: master
Gerrit-Owner: Rfaulk <[email protected]>
Gerrit-Reviewer: Rfaulk <[email protected]>
Gerrit-Reviewer: jenkins-bot
_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits