The test fails for "self.assertEqual(a.dumps(True), b.dumps(True))"
Because
1.
license: |
+ public-domain
apache-2.0
- public-domain
License value order are different
1.
- copyright: Copyright (c) 2013-2014 nexB Inc.
- copyright: Copyright (c) 2013-2014 nexB Inc.
Extra spaces in copyright notice.
The dumps function doesn't strip spaces or change order of values.
I think it will fail because it compares the output AFTER the process instead of compare value on the go.
Perhaps we need to create a function to compare value instead of the whole file instead?
The test fails for "self.assertEqual(a.dumps(True), b.dumps(True))"
Because
1.
license: |
+ public-domain
apache-2.0
- public-domain
License value order are different
1.
Extra spaces in copyright notice.
The dumps function doesn't strip spaces or change order of values.
I think it will fail because it compares the output AFTER the process instead of compare value on the go.
Perhaps we need to create a function to compare value instead of the whole file instead?