summaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorrsiddharth <s@ricketyspace.net>2017-01-06 00:32:11 +0000
committerrsiddharth <s@ricketyspace.net>2017-01-06 00:32:11 +0000
commitf61cc88f69509c0d448d4c45960fb17d137b21e1 (patch)
tree950c2d176bc5af4bf3165a35983ece2eea59212c /tests
parent32b5035c36e67926b2eb790b6df4d337baa8dc17 (diff)
Re-write global variables.
* gd_diff.py (bzr_base_url, bzr_pkg_readme_fmt) (readme_url_fmt): Remove variables. (sv_bzr_http, sv_bzr_gns, readme_link_fmt) (readme_url_fmt): Add variables. (construct_table_row): Update function. * tests/test_gd_diff.py (TestGdDiff.test_generate_wiki_table): Update method.
Diffstat (limited to 'tests')
-rw-r--r--tests/test_gd_diff.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/test_gd_diff.py b/tests/test_gd_diff.py
index b93536c..86b6659 100644
--- a/tests/test_gd_diff.py
+++ b/tests/test_gd_diff.py
@@ -437,7 +437,7 @@ class TestGdDiff(object):
assert pkg in pkgs
assert cols[3] == '[[{}|more_info]]'.format(
- bzr_pkg_readme_fmt.format(pkg))
+ readme_link_fmt.format(pkg))
pkgs.remove(pkg)