File: 0002-remove-sort.patch

package info (click to toggle)
python-discogs-client 2.8-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 572 kB
  • sloc: python: 1,719; sh: 83; makefile: 18
file content (12 lines) | stat: -rw-r--r-- 431 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
--- a/discogs_client/tests/test_utils.py
+++ b/discogs_client/tests/test_utils.py
@@ -70,9 +70,6 @@
 
     def test_sort(self):
         self.assertRaises(TypeError, lambda: utils.Sort())
-        self.assertEqual(utils.Sort.By.ARTIST, 'artist')
-        self.assertEqual(utils.Sort.Order.ASCENDING, 'asc')
-        self.assertEqual(utils.Sort.Order.DESCENDING, 'desc')
 
 
     @patch('discogs_client.utils.get_backoff_duration')