From: W. Trevor King <wking@drexel.edu> Date: Thu, 21 Jan 2010 17:47:38 +0000 (-0500) Subject: Update libbe.storage.util.settings_object tests for new ._get_saved_settings X-Git-Tag: 1.0.0~59^2~46^2~3 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=7fae8599ba74ecf3d36c9466feec25b3c3f36529;p=be.git Update libbe.storage.util.settings_object tests for new ._get_saved_settings --- diff --git a/libbe/storage/util/settings_object.py b/libbe/storage/util/settings_object.py index 181d4ab..ca94f23 100644 --- a/libbe/storage/util/settings_object.py +++ b/libbe/storage/util/settings_object.py @@ -326,7 +326,8 @@ if libbe.TESTING == True: self.failUnless(t.content_type == "text/plain", t.content_type) self.failUnless(t.settings["Content-type"] == EMPTY, t.settings["Content-type"]) - self.failUnless(t._get_saved_settings() == {}, + self.failUnless(t._get_saved_settings() == + {"Content-type":"text/plain"}, t._get_saved_settings()) t.content_type = "text/html" self.failUnless(t.content_type == "text/html",