aboutsummaryrefslogtreecommitdiff
path: root/tests/data/simple
diff options
context:
space:
mode:
authorElena ``of Valhalla'' Grandi <valhalla@trueelena.org>2017-10-29 14:54:38 +0100
committerElena ``of Valhalla'' Grandi <valhalla@trueelena.org>2017-10-29 14:54:38 +0100
commit7163dfa3d0252067de90e8c088ea90d0b0f7d059 (patch)
tree11fa27982ff2c328435a128df3a8ab44b25593f7 /tests/data/simple
parenta5fbd781ccc9b64483cc499c375fa6e0e99ade1d (diff)
Load a collection from command line and show a list of items
Diffstat (limited to 'tests/data/simple')
-rw-r--r--tests/data/simple/.gitignore1
-rw-r--r--tests/data/simple/items/11189ee47ddf4796b718a483b379f976.yaml3
-rw-r--r--tests/data/simple/settings.yaml20
3 files changed, 24 insertions, 0 deletions
diff --git a/tests/data/simple/.gitignore b/tests/data/simple/.gitignore
new file mode 100644
index 0000000..17f377f
--- /dev/null
+++ b/tests/data/simple/.gitignore
@@ -0,0 +1 @@
+.lesana
diff --git a/tests/data/simple/items/11189ee47ddf4796b718a483b379f976.yaml b/tests/data/simple/items/11189ee47ddf4796b718a483b379f976.yaml
new file mode 100644
index 0000000..e1f7fc1
--- /dev/null
+++ b/tests/data/simple/items/11189ee47ddf4796b718a483b379f976.yaml
@@ -0,0 +1,3 @@
+name: Another item
+description: with just a short description
+position: somewhere
diff --git a/tests/data/simple/settings.yaml b/tests/data/simple/settings.yaml
new file mode 100644
index 0000000..20f35d8
--- /dev/null
+++ b/tests/data/simple/settings.yaml
@@ -0,0 +1,20 @@
+name: "Simple lesana collection"
+lang: 'english'
+entry_label: '{{ uid }}: {{ name }}'
+fields:
+ - name: name
+ type: string
+ index: free
+ - name: description
+ type: text
+ index: free
+ - name: position
+ type: string
+ index: facet
+ - name: quantity
+ type: integer
+ index: no
+ help: 'how many items are there'
+ - name: other
+ type: yaml
+ help: ''