summaryrefslogtreecommitdiff
path: root/mirrors/fixtures
diff options
context:
space:
mode:
authorDan McGee <dan@archlinux.org>2010-09-30 14:36:38 -0500
committerDan McGee <dan@archlinux.org>2010-09-30 14:36:38 -0500
commited6fbafb35ec9799ad182c45985355a2e0d67d50 (patch)
tree938f5c8105f2064c0bf08c46ab3a5ff12e338393 /mirrors/fixtures
parentbb84f9c96cb9df4e47e517f424a28fc36b4bed28 (diff)
Update MirrorProtocol fixture data
Move it to the correct location and add the new field. Also tidy up some of the instructions dealing with loading this data. Signed-off-by: Dan McGee <dan@archlinux.org>
Diffstat (limited to 'mirrors/fixtures')
-rw-r--r--mirrors/fixtures/mirrorprotocols.json26
1 files changed, 26 insertions, 0 deletions
diff --git a/mirrors/fixtures/mirrorprotocols.json b/mirrors/fixtures/mirrorprotocols.json
new file mode 100644
index 00000000..35614b3a
--- /dev/null
+++ b/mirrors/fixtures/mirrorprotocols.json
@@ -0,0 +1,26 @@
+[
+ {
+ "pk": 1,
+ "model": "mirrors.mirrorprotocol",
+ "fields": {
+ "is_download": true,
+ "protocol": "http"
+ }
+ },
+ {
+ "pk": 2,
+ "model": "mirrors.mirrorprotocol",
+ "fields": {
+ "is_download": true,
+ "protocol": "ftp"
+ }
+ },
+ {
+ "pk": 3,
+ "model": "mirrors.mirrorprotocol",
+ "fields": {
+ "is_download": false,
+ "protocol": "rsync"
+ }
+ }
+] \ No newline at end of file