Skip to content

Commit

Permalink
Fixed test for AttributedDict.
Browse files Browse the repository at this point in the history
  • Loading branch information
svetlyak40wt committed Sep 7, 2009
1 parent 75deb98 commit e71901c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/test_document.py
Expand Up @@ -6,6 +6,8 @@
from pymongo.connection import Connection
from pymongo.database import Database
from mongobongo import Document
from mongobongo.attributed import AttributedDict



def get_connection():
Expand Down Expand Up @@ -96,8 +98,6 @@ def test_change_attributes(self):
self.assertEqual(dict(title = 'Just a Poem', tags = ['one', 'two']), doc.article)

def test_dict_proxy(self):
from pymongo.document import AttributedDict

d = dict(title = 'Just an Example', tags = ['test', 'python'])
dp = AttributedDict(d)
dp.author = dict(name = 'Alexander')
Expand Down

0 comments on commit e71901c

Please sign in to comment.