gns-deb-diff

automate the documentation of the differences between gNewSense and Debian.
git clone git://git.ricketyspace.net/gns-deb-diff.git
Log | Files | Refs

commit 9b6c178e8f66c1132362cf56b833f62dc1f84855
parent c35a9e1c418f765370256239a8aba6b504e6ec3f
Author: rsiddharth <s@ricketyspace.net>
Date:   Thu,  8 Dec 2016 03:36:31 +0000

Update test for `generate_wiki_table`.

* tests/test_gd_diff.py (test_generate_wiki_table): Update test.

Diffstat:
tests/test_gd_diff.py | 4++--
1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/tests/test_gd_diff.py b/tests/test_gd_diff.py @@ -423,14 +423,14 @@ class TestGdDiff(object): with mock.patch('os.getenv', new=self.env_func), \ mock.patch('gd_diff.mk_pkgs_list', new=mock_mk_pkgs_list): - pkgs_noreadmes, wiki_page = generate_wiki_table('parkes') + pkgs_noreadmes, wiki_table = generate_wiki_table('parkes') for pkg in pkgs_noreadmes: assert pkg in expected_pkgs_noreadmes pkgs = set(pkgs) - set(expected_pkgs_noreadmes) - for row in wiki_page.split('\n')[:-1]: + for row in wiki_table.split('\n')[:-1]: cols = row.split('||')[1:] pkg = cols[0]