diff options
author | Rafael G. Martins <rafael@rafaelmartins.eng.br> | 2010-06-25 14:17:49 -0300 |
---|---|---|
committer | Rafael G. Martins <rafael@rafaelmartins.eng.br> | 2010-06-25 14:17:49 -0300 |
commit | 7e3082348f9812173eb7275b809880c28a4f967b (patch) | |
tree | 215c3e450cc17b990406456a2c0aaf8695ea215d /tests | |
parent | splited scripts/create_database.py. package database and soruce tarballs are ... (diff) | |
download | g-octave-7e3082348f9812173eb7275b809880c28a4f967b.tar.gz g-octave-7e3082348f9812173eb7275b809880c28a4f967b.tar.bz2 g-octave-7e3082348f9812173eb7275b809880c28a4f967b.zip |
fixed a test case
Diffstat (limited to 'tests')
-rw-r--r-- | tests/test_description.py | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/tests/test_description.py b/tests/test_description.py index 3cf6deb..ea0be68 100644 --- a/tests/test_description.py +++ b/tests/test_description.py @@ -183,11 +183,13 @@ class TestDescription(unittest.TestCase): self.assertEqual(self.desc.categories, 'Category1,Category2, Category3') self.assertEqual(self.desc.url, 'http://example.org') - self.assertEqual(self.desc.systemrequirements, [ + requirements = [ '>=g-octave/pkg1-4.3.2', '<g-octave/pkg2-1.2.3', 'g-octave/pkg3' - ]) + ] + requirements.sort() + self.assertEqual(self.desc.systemrequirements, requirements) self.assertEqual(self.desc.buildrequires, ['>g-octave/pkg4-1.0.0']) self.assertEqual(self.desc.depends, ['>=sci-mathematics/octave-3.0.0']) |