summaryrefslogtreecommitdiffstats
path: root/mirrors
diff options
context:
space:
mode:
authorDan McGee <dan@archlinux.org>2010-09-30 21:36:38 +0200
committerDan McGee <dan@archlinux.org>2010-09-30 21:36:38 +0200
commited6fbafb35ec9799ad182c45985355a2e0d67d50 (patch)
tree938f5c8105f2064c0bf08c46ab3a5ff12e338393 /mirrors
parentbb84f9c96cb9df4e47e517f424a28fc36b4bed28 (diff)
downloadarchweb-ed6fbafb35ec9799ad182c45985355a2e0d67d50.tar.gz
archweb-ed6fbafb35ec9799ad182c45985355a2e0d67d50.tar.xz
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')
-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 0000000..35614b3
--- /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