aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChristopher Allan Webber <cwebber@dustycloud.org>2011-07-17 11:32:05 -0500
committerChristopher Allan Webber <cwebber@dustycloud.org>2011-07-17 11:32:05 -0500
commitdd33ed06fbf4b4347b166a94ce137db64806ebef (patch)
treeb87b861378dfad65e1d8caa66b4d9a7e13bec0d7
parentfa92d52fa5c57f6f76061d161b087f887e912344 (diff)
downloadmediagoblin-dd33ed06fbf4b4347b166a94ce137db64806ebef.tar.lz
mediagoblin-dd33ed06fbf4b4347b166a94ce137db64806ebef.tar.xz
mediagoblin-dd33ed06fbf4b4347b166a94ce137db64806ebef.zip
Finished the docstring of the creature_add_magical_powers fake migration
-rw-r--r--mediagoblin/tests/test_migrations.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/mediagoblin/tests/test_migrations.py b/mediagoblin/tests/test_migrations.py
index 127b90e1..c100a26a 100644
--- a/mediagoblin/tests/test_migrations.py
+++ b/mediagoblin/tests/test_migrations.py
@@ -42,7 +42,8 @@ def creature_add_magical_powers(database):
Add lists of magical powers.
This defaults to [], an empty list. Since we haven't declared any
- magical powers, all existing monsters should
+ magical powers, all existing monsters, setting to an empty list is
+ fine.
"""
database['creatures'].update(
{'magical_powers': {'$exists': False}},