summaryrefslogtreecommitdiff
path: root/packages
diff options
context:
space:
mode:
authorDan McGee <dan@archlinux.org>2010-06-24 17:05:12 -0500
committerDan McGee <dan@archlinux.org>2010-06-24 17:08:00 -0500
commite361a1e8731ce08f7a632b3914e7a0454191e01d (patch)
tree34214df7ba8e7fa9a2065070a09ddda757ec5a80 /packages
parent081ed6c8661bbec81cdbb9029e4832b34805f37b (diff)
Get unit tests up and running again
We had some dependency issues between migrations that needed to be explicitly defined in order to get things fully moving, and do to some braindeadness in Django tests not including the project url config, we need to do some clever business when using the url tag in the base template so tests don't doe with a NoReverseMatch exception. Signed-off-by: Dan McGee <dan@archlinux.org>
Diffstat (limited to 'packages')
-rw-r--r--packages/migrations/0002_populate_package_relation.py4
1 files changed, 3 insertions, 1 deletions
diff --git a/packages/migrations/0002_populate_package_relation.py b/packages/migrations/0002_populate_package_relation.py
index 7f903503..738e068f 100644
--- a/packages/migrations/0002_populate_package_relation.py
+++ b/packages/migrations/0002_populate_package_relation.py
@@ -6,7 +6,9 @@ from django.db import models
class Migration(DataMigration):
- no_dry_run = True
+ depends_on = (
+ ("main", "0003_migrate_maintainer"),
+ )
def forwards(self, orm):
"Write your forwards methods here."