aboutsummaryrefslogtreecommitdiff
path: root/test/test_utils.py
diff options
context:
space:
mode:
authorPhilipp Hagemeister <phihag@phihag.de>2012-12-20 13:26:37 +0100
committerPhilipp Hagemeister <phihag@phihag.de>2012-12-20 13:26:37 +0100
commit314d506b96d87a212e7e57eaa4d86514579c1c12 (patch)
tree3d554b243302926304bf96b6e9b769dade5a6417 /test/test_utils.py
parentaf42895612d0958f5c20499c5adafb25270fdb8d (diff)
Do not use deprecated method
Diffstat (limited to 'test/test_utils.py')
-rw-r--r--test/test_utils.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/test/test_utils.py b/test/test_utils.py
index 796ed4ab2..eeaaa7fad 100644
--- a/test/test_utils.py
+++ b/test/test_utils.py
@@ -82,9 +82,9 @@ class TestUtil(unittest.TestCase):
self.assertTrue(sanitize_filename(':', restricted=True) != '')
def test_sanitize_ids(self):
- self.assertEquals(sanitize_filename('_n_cd26wFpw', is_id=True), '_n_cd26wFpw')
- self.assertEquals(sanitize_filename('_BD_eEpuzXw', is_id=True), '_BD_eEpuzXw')
- self.assertEquals(sanitize_filename('N0Y__7-UOdI', is_id=True), 'N0Y__7-UOdI')
+ self.assertEqual(sanitize_filename('_n_cd26wFpw', is_id=True), '_n_cd26wFpw')
+ self.assertEqual(sanitize_filename('_BD_eEpuzXw', is_id=True), '_BD_eEpuzXw')
+ self.assertEqual(sanitize_filename('N0Y__7-UOdI', is_id=True), 'N0Y__7-UOdI')
def test_ordered_set(self):
self.assertEqual(orderedSet([1, 1, 2, 3, 4, 4, 5, 6, 7, 3, 5]), [1, 2, 3, 4, 5, 6, 7])