aboutsummaryrefslogtreecommitdiffstats
path: root/libbe/storage
diff options
context:
space:
mode:
authorW. Trevor King <wking@drexel.edu>2010-01-21 12:47:38 -0500
committerW. Trevor King <wking@drexel.edu>2010-01-21 12:47:38 -0500
commit7fae8599ba74ecf3d36c9466feec25b3c3f36529 (patch)
treeb55952eee2ae27081e2507343e04f04c3facdb25 /libbe/storage
parent98faed2675ef86c4c9e59de57e815526fcad57f2 (diff)
downloadbugseverywhere-7fae8599ba74ecf3d36c9466feec25b3c3f36529.tar.gz
Update libbe.storage.util.settings_object tests for new ._get_saved_settings
Diffstat (limited to 'libbe/storage')
-rw-r--r--libbe/storage/util/settings_object.py3
1 files changed, 2 insertions, 1 deletions
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",