Remove fixtures from version control.

(imported from commit 32f17aa1b674e47d730a00cced8b5bed8a136755)
This commit is contained in:
Tim Abbott
2012-09-04 16:31:56 -04:00
parent 8f058937a0
commit c059937f31
3 changed files with 5 additions and 2 deletions

View File

@@ -6,6 +6,9 @@ from django.db.models import Q
from zephyr.models import Zephyr, UserProfile, ZephyrClass, Recipient, Subscription, filter_by_subscriptions
import datetime
import os
import subprocess
subprocess.call("zephyr/tests/generate-fixtures");
class AuthedTestCase(TestCase):
def login(self, username, password):
@@ -203,3 +206,4 @@ class ClassZephyrsTest(AuthedTestCase):
self.assertEqual(old_non_subscriber_zephyrs, new_non_subscriber_zephyrs)
self.assertEqual(new_subscriber_zephyrs, [elt + 1 for elt in old_subscriber_zephyrs])