[pitivi] tests: Remove unused dict mapping



commit b6e0768b39663b68a7fefc3069ca9e2be204fae5
Author: Alex BÄluÈ <alexandru balut gmail com>
Date:   Sun Nov 11 21:50:35 2012 +0100

    tests: Remove unused dict mapping

 tests/test_preset.py |    5 ++---
 1 files changed, 2 insertions(+), 3 deletions(-)
---
diff --git a/tests/test_preset.py b/tests/test_preset.py
index 192472f..f6b052a 100644
--- a/tests/test_preset.py
+++ b/tests/test_preset.py
@@ -162,14 +162,13 @@ class TestAudioPresetsIO(TestCase):
         self.manager.saveAll()
 
         self.manager.addPreset('Solid Snake (ããããããããã)Â\#!"/$%?&*',
-            {"name": "ããããã",
-            "channels": 2,
+            {"channels": 2,
             "depth": 16,
             "sample-rate": 44100,
             "filepath": os.path.join(self.manager.user_path,
                 'Solid Snake (ããããããããã)Â\#!"/$%?&*' + ".json")})
         snake = self.manager.presets['Solid Snake (ããããããããã)Â\#!"/$%?&*']
-        self.assertEqual(5, len(snake))
+        self.assertEqual(4, len(snake))
         # The slash ("/") in the filename is supposed to make it choke
         #self.assertRaises(IOError, self.manager.saveAll)
         # Let's be slightly more gentle



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]