parent
97c5b957dd
commit
f48af8db3b
3 changed files with 7 additions and 1 deletions
|
|
@ -103,3 +103,8 @@ class MongoDBSessionTest(SessionTestsMixin, unittest.TestCase):
|
|||
MongoSession.drop_collection()
|
||||
super(MongoDBSessionTest, self).setUp()
|
||||
|
||||
def test_first_save(self):
|
||||
session = SessionStore()
|
||||
session['test'] = True
|
||||
session.save()
|
||||
self.assertTrue('test' in session)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue