[damned-lies] Fixed fixture export, defaulting to JSON
- From: Gil Forcada Codinachs <gforcada src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [damned-lies] Fixed fixture export, defaulting to JSON
- Date: Thu, 4 Oct 2012 22:59:54 +0000 (UTC)
commit 0f90a3fad3b8c0a029de29e7b39670c696db8938
Author: Gil Forcada <gforcada gnome org>
Date: Fri Oct 5 00:56:01 2012 +0200
Fixed fixture export, defaulting to JSON
stats/tests/fixture_factory.py | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/stats/tests/fixture_factory.py b/stats/tests/fixture_factory.py
index 166e2b7..49f4d01 100644
--- a/stats/tests/fixture_factory.py
+++ b/stats/tests/fixture_factory.py
@@ -164,7 +164,7 @@ class FixtureFactory(TestCase):
# Output fixture
data = Dumpdata().handle(*['auth.User', 'people', 'teams', 'languages', 'stats'],
- **{'indent':1})
+ **{'indent':1, 'exclude': [], 'format': 'json'})
out_file = NamedTemporaryFile(suffix=".json", dir=".", delete=False)
out_file.write(data)
out_file.close()
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]