allura-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From brond...@apache.org
Subject [01/25] git commit: [#6464] Fixed test failing due to refactor
Date Wed, 21 Aug 2013 16:05:53 GMT
Updated Branches:
  refs/heads/master 6ce8edf50 -> ce7baf3cc


[#6464] Fixed test failing due to refactor

Signed-off-by: Cory Johns <cjohns@slashdotmedia.com>


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

Branch: refs/heads/master
Commit: dbafc63afc54f38e95e55a8da9ee653a287531d1
Parents: f72cec2
Author: Cory Johns <cjohns@slashdotmedia.com>
Authored: Tue Aug 13 14:07:38 2013 +0000
Committer: Cory Johns <cjohns@slashdotmedia.com>
Committed: Tue Aug 20 17:34:13 2013 +0000

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


http://git-wip-us.apache.org/repos/asf/incubator-allura/blob/dbafc63a/ForgeImporters/forgeimporters/tests/google/test_tracker.py
----------------------------------------------------------------------
diff --git a/ForgeImporters/forgeimporters/tests/google/test_tracker.py b/ForgeImporters/forgeimporters/tests/google/test_tracker.py
index 3efd97d..70ea3ad 100644
--- a/ForgeImporters/forgeimporters/tests/google/test_tracker.py
+++ b/ForgeImporters/forgeimporters/tests/google/test_tracker.py
@@ -212,8 +212,8 @@ class TestTrackerImporter(TestCase):
                     'options': set(['foo', 'bar']),
                 },
             }
-        importer.postprocess_custom_fields()
-        self.assertEqual(sorted(c.app.globals.custom_fields, key=itemgetter('name')), [
+        custom_fields = importer.postprocess_custom_fields()
+        self.assertItemsEqual(custom_fields, [
                 {
                     'name': '_foo',
                     'type': 'string',


Mime
View raw message