Commits

Maximilian Albert committed a6880cd

Implement a mock __iter__() method for MockSet rather than explicitly inheriting from list.

Comments (0)

Files changed (1)

test/unittests/test_projects.py

         return {}
 
 
-class MockSet(list):
+class MockSet(object):
+    def __iter__(self):
+        return iter(['foo'])
     def add(self, x):
         self.added = x
     def remove(self, x):