incubator-allura-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From brond...@apache.org
Subject [24/41] git commit: [#6535] ticket:423 fixed test
Date Thu, 19 Sep 2013 16:21:56 GMT
[#6535] ticket:423 fixed test


Project: http://git-wip-us.apache.org/repos/asf/incubator-allura/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-allura/commit/b2c864be
Tree: http://git-wip-us.apache.org/repos/asf/incubator-allura/tree/b2c864be
Diff: http://git-wip-us.apache.org/repos/asf/incubator-allura/diff/b2c864be

Branch: refs/heads/db/5822
Commit: b2c864be4680fe92dcf2a574b97caed9f5b5cd7d
Parents: da98a80
Author: coldmind <sokandpal@yandex.ru>
Authored: Wed Sep 11 16:44:49 2013 +0300
Committer: Dave Brondsema <dbrondsema@slashdotmedia.com>
Committed: Thu Sep 19 14:46:50 2013 +0000

----------------------------------------------------------------------
 ForgeImporters/forgeimporters/tests/github/test_tracker.py | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-allura/blob/b2c864be/ForgeImporters/forgeimporters/tests/github/test_tracker.py
----------------------------------------------------------------------
diff --git a/ForgeImporters/forgeimporters/tests/github/test_tracker.py b/ForgeImporters/forgeimporters/tests/github/test_tracker.py
index 382be2b..9059a99 100644
--- a/ForgeImporters/forgeimporters/tests/github/test_tracker.py
+++ b/ForgeImporters/forgeimporters/tests/github/test_tracker.py
@@ -45,9 +45,9 @@ class TestTrackerImporter(TestCase):
                 mount_point='mount_point', mount_label='mount_label', user_name='me')
 
         project.install_app.assert_called_once_with('tickets', 'mount_point', 'mount_label',
-                EnableVoting=True,
-                open_status_names='New Accepted Started',
-                closed_status_names='Fixed Verified Invalid Duplicate WontFix Done',
+                EnableVoting=False,
+                open_status_names='Open',
+                closed_status_names='Closed',
             )
         gpe.iter_issues.assert_called_once()
         self.assertEqual(tlos.flush_all.call_args_list, [
@@ -127,7 +127,7 @@ class TestTrackerImporter(TestCase):
         importer = tracker.GitHubTrackerImporter()
         importer.process_comments(extractor, ticket, issue)
         self.assertEqual(ticket.discussion_thread.add_post.call_args_list[0], mock.call(
-                text='hello\n*Originally posted by: me*',
+                text='*Originally posted by: [me](https://github.com/me)*\nhello',
                 timestamp=datetime(2013, 8, 26, 16, 57, 53),
                 ignore_security=True,
             ))
\ No newline at end of file


Mime
View raw message