From 7fae8599ba74ecf3d36c9466feec25b3c3f36529 Mon Sep 17 00:00:00 2001 From: "W. Trevor King" Date: Thu, 21 Jan 2010 12:47:38 -0500 Subject: Update libbe.storage.util.settings_object tests for new ._get_saved_settings --- libbe/storage/util/settings_object.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'libbe') 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", -- cgit