mirror of https://github.com/zulip/zulip.git
Fix some testing problems with new UserMessage class.
(imported from commit abcadca84e6ad21c523f339952ad0dec0868dc50)
This commit is contained in:
parent
111cda9f21
commit
cc3b90b5a2
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue