Skip to content

Commit

Permalink
Make query unit tests use ordereddict for 3.5's sake
Browse files Browse the repository at this point in the history
  • Loading branch information
samirelanduk committed Oct 26, 2018
1 parent b4f0b80 commit 9d503c6
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion tests/unit/test_base.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
from collections import OrderedDict
from unittest import TestCase
from unittest.mock import Mock, patch, PropertyMock, MagicMock
from atomium.base import *
Expand Down Expand Up @@ -44,7 +45,7 @@ def test_can_filter_by_property_comparison(self):
class QueryDecoratorTests(TestCase):

def setUp(self):
self.f = lambda s: {1: 2, 3: 4, 5: 6}
self.f = lambda s: OrderedDict([(1, 2), (3, 4), (5, 6)])


def test_can_get_unfiltered_objects(self):
Expand Down

0 comments on commit 9d503c6

Please sign in to comment.