Fix some testing problems with new UserMessage class.

(imported from commit abcadca84e6ad21c523f339952ad0dec0868dc50)
This commit is contained in:
Tim Abbott 2012-09-07 11:30:28 -04:00
parent 111cda9f21
commit cc3b90b5a2
2 changed files with 2 additions and 2 deletions

View File

@ -3,7 +3,7 @@ from django.utils.timezone import utc
from django.contrib.auth.models import User
from zephyr.models import Zephyr, UserProfile, ZephyrClass, Recipient, \
Subscription, Huddle, get_huddle, Realm, create_user_profile
Subscription, Huddle, get_huddle, Realm, create_user_profile, UserMessage
import datetime
import random

View File

@ -1,3 +1,3 @@
#!/bin/sh
mkdir -p zephyr/fixtures
python manage.py dumpdata auth.User zephyr.UserProfile zephyr.ZephyrClass zephyr.Recipient zephyr.Subscription zephyr.Zephyr zephyr.Huddle zephyr.Realm > zephyr/fixtures/zephyrs.json
python manage.py dumpdata auth.User zephyr.UserProfile zephyr.ZephyrClass zephyr.Recipient zephyr.Subscription zephyr.Zephyr zephyr.Huddle zephyr.Realm zephyr.UserMessage > zephyr/fixtures/zephyrs.json