projects
/
be.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
98faed2
)
Update libbe.storage.util.settings_object tests for new ._get_saved_settings
author
W. Trevor King
<wking@drexel.edu>
Thu, 21 Jan 2010 17:47:38 +0000
(12:47 -0500)
committer
W. Trevor King
<wking@drexel.edu>
Thu, 21 Jan 2010 17:47:38 +0000
(12:47 -0500)
libbe/storage/util/settings_object.py
patch
|
blob
|
history
diff --git
a/libbe/storage/util/settings_object.py
b/libbe/storage/util/settings_object.py
index 181d4ab3a8e74f2d74c883248fa671086fba22e3..ca94f23eac0e1df267bf70c9968ca02793dcdadd 100644
(file)
--- 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",