summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorÉtienne Loks <etienne.loks@iggdrasil.net>2017-08-13 10:44:57 +0200
committerÉtienne Loks <etienne.loks@iggdrasil.net>2017-08-13 10:44:57 +0200
commit0747a4c992c03d917a7b0cf31877e1dd95187f08 (patch)
tree82325cfe5e916411dbce6071e855de1ce75a6608
parent15454059f3ef184be91471832305553feac81b53 (diff)
downloadIshtar-0747a4c992c03d917a7b0cf31877e1dd95187f08.tar.bz2
Ishtar-0747a4c992c03d917a7b0cf31877e1dd95187f08.zip
Fixtures: update with two time fixture for relation types with no dependencies between them at first
-rw-r--r--archaeological_context_records/fixtures/initial_data-fr.json146
-rw-r--r--archaeological_context_records/fixtures/initial_data_relation_type-fr.json148
-rw-r--r--archaeological_context_records/fixtures/initial_data_relation_type_norel-fr.json132
-rw-r--r--archaeological_operations/fixtures/initial_data-fr.json43
-rw-r--r--archaeological_operations/fixtures/initial_data_relation_type-fr.json45
-rw-r--r--archaeological_operations/fixtures/initial_data_relation_type_norel-fr.json41
6 files changed, 366 insertions, 189 deletions
diff --git a/archaeological_context_records/fixtures/initial_data-fr.json b/archaeological_context_records/fixtures/initial_data-fr.json
index 91679b8ff..8b6a2ab38 100644
--- a/archaeological_context_records/fixtures/initial_data-fr.json
+++ b/archaeological_context_records/fixtures/initial_data-fr.json
@@ -340,152 +340,6 @@
},
{
"fields": {
- "comment": "UE en coupant une autre",
- "available": true,
- "tiny_label": "",
- "label": "Coupe",
- "symmetrical": false,
- "inverse_relation": [
- "cutted"
- ],
- "order": 1,
- "txt_idx": "cutting"
- },
- "model": "archaeological_context_records.relationtype"
-},
-{
- "fields": {
- "comment": "UE en remplissant une autre (qui doit \u00eatre vraisemblablement une US de creusement)",
- "available": true,
- "tiny_label": "",
- "label": "Comble",
- "symmetrical": false,
- "inverse_relation": [
- "filled_by"
- ],
- "order": 1,
- "txt_idx": "filling"
- },
- "model": "archaeological_context_records.relationtype"
-},
-{
- "fields": {
- "comment": "UE situ\u00e9e au-dessus d'une autre",
- "available": true,
- "tiny_label": "",
- "label": "Sur",
- "symmetrical": false,
- "inverse_relation": [
- "is_below"
- ],
- "order": 1,
- "txt_idx": "is_above"
- },
- "model": "archaeological_context_records.relationtype"
-},
-{
- "fields": {
- "comment": "\u00c0 pr\u00e9ciser ",
- "available": true,
- "tiny_label": "",
- "label": "Relation indirecte",
- "symmetrical": true,
- "inverse_relation": null,
- "order": 1,
- "txt_idx": "indirect_relation"
- },
- "model": "archaeological_context_records.relationtype"
-},
-{
- "fields": {
- "comment": "UE en incluant (regroupant) d'autres (ex: tranch\u00e9e / structures ou entre structure / US, etc.)",
- "available": true,
- "tiny_label": "",
- "label": "Inclut",
- "symmetrical": false,
- "inverse_relation": [
- "is_included"
- ],
- "order": 1,
- "txt_idx": "include"
- },
- "model": "archaeological_context_records.relationtype"
-},
-{
- "fields": {
- "comment": "UE faisant partie d'une autre",
- "available": true,
- "tiny_label": "",
- "label": "Incluse dans",
- "symmetrical": false,
- "inverse_relation": [
- "include"
- ],
- "order": 1,
- "txt_idx": "is_included"
- },
- "model": "archaeological_context_records.relationtype"
-},
-{
- "fields": {
- "comment": "UE situ\u00e9e en-dessous d'une autre",
- "available": true,
- "tiny_label": "",
- "label": "Sous",
- "symmetrical": false,
- "inverse_relation": [
- "is_above"
- ],
- "order": 1,
- "txt_idx": "is_below"
- },
- "model": "archaeological_context_records.relationtype"
-},
-{
- "fields": {
- "comment": "UE recoup\u00e9e par une autre",
- "available": true,
- "tiny_label": "",
- "label": "Coup\u00e9e par",
- "symmetrical": false,
- "inverse_relation": [
- "cutting"
- ],
- "order": 1,
- "txt_idx": "cutted"
- },
- "model": "archaeological_context_records.relationtype"
-},
-{
- "fields": {
- "comment": "UE \u00e9quivalant \u00e0 une autre",
- "available": true,
- "tiny_label": null,
- "label": "\u00c9quivaut \u00e0",
- "symmetrical": true,
- "inverse_relation": null,
- "order": 1,
- "txt_idx": "equals"
- },
- "model": "archaeological_context_records.relationtype"
-},
-{
- "fields": {
- "comment": "UE remplie par une autre",
- "available": true,
- "tiny_label": "",
- "label": "Combl\u00e9e par",
- "symmetrical": false,
- "inverse_relation": [
- "filling"
- ],
- "order": 1,
- "txt_idx": "filled_by"
- },
- "model": "archaeological_context_records.relationtype"
-},
-{
- "fields": {
"comment": "",
"available": true,
"txt_idx": "manual-overflowing-cut",
diff --git a/archaeological_context_records/fixtures/initial_data_relation_type-fr.json b/archaeological_context_records/fixtures/initial_data_relation_type-fr.json
new file mode 100644
index 000000000..33d59a879
--- /dev/null
+++ b/archaeological_context_records/fixtures/initial_data_relation_type-fr.json
@@ -0,0 +1,148 @@
+[
+{
+ "fields": {
+ "comment": "UE en coupant une autre",
+ "available": true,
+ "tiny_label": "",
+ "label": "Coupe",
+ "symmetrical": false,
+ "inverse_relation": [
+ "cutted"
+ ],
+ "order": 1,
+ "txt_idx": "cutting"
+ },
+ "model": "archaeological_context_records.relationtype"
+},
+{
+ "fields": {
+ "comment": "UE en remplissant une autre (qui doit \u00eatre vraisemblablement une US de creusement)",
+ "available": true,
+ "tiny_label": "",
+ "label": "Comble",
+ "symmetrical": false,
+ "inverse_relation": [
+ "filled_by"
+ ],
+ "order": 1,
+ "txt_idx": "filling"
+ },
+ "model": "archaeological_context_records.relationtype"
+},
+{
+ "fields": {
+ "comment": "UE situ\u00e9e au-dessus d'une autre",
+ "available": true,
+ "tiny_label": "",
+ "label": "Sur",
+ "symmetrical": false,
+ "inverse_relation": [
+ "is_below"
+ ],
+ "order": 1,
+ "txt_idx": "is_above"
+ },
+ "model": "archaeological_context_records.relationtype"
+},
+{
+ "fields": {
+ "comment": "\u00c0 pr\u00e9ciser ",
+ "available": true,
+ "tiny_label": "",
+ "label": "Relation indirecte",
+ "symmetrical": true,
+ "inverse_relation": null,
+ "order": 1,
+ "txt_idx": "indirect_relation"
+ },
+ "model": "archaeological_context_records.relationtype"
+},
+{
+ "fields": {
+ "comment": "UE en incluant (regroupant) d'autres (ex: tranch\u00e9e / structures ou entre structure / US, etc.)",
+ "available": true,
+ "tiny_label": "",
+ "label": "Inclut",
+ "symmetrical": false,
+ "inverse_relation": [
+ "is_included"
+ ],
+ "order": 1,
+ "txt_idx": "include"
+ },
+ "model": "archaeological_context_records.relationtype"
+},
+{
+ "fields": {
+ "comment": "UE faisant partie d'une autre",
+ "available": true,
+ "tiny_label": "",
+ "label": "Incluse dans",
+ "symmetrical": false,
+ "inverse_relation": [
+ "include"
+ ],
+ "order": 1,
+ "txt_idx": "is_included"
+ },
+ "model": "archaeological_context_records.relationtype"
+},
+{
+ "fields": {
+ "comment": "UE situ\u00e9e en-dessous d'une autre",
+ "available": true,
+ "tiny_label": "",
+ "label": "Sous",
+ "symmetrical": false,
+ "inverse_relation": [
+ "is_above"
+ ],
+ "order": 1,
+ "txt_idx": "is_below"
+ },
+ "model": "archaeological_context_records.relationtype"
+},
+{
+ "fields": {
+ "comment": "UE recoup\u00e9e par une autre",
+ "available": true,
+ "tiny_label": "",
+ "label": "Coup\u00e9e par",
+ "symmetrical": false,
+ "inverse_relation": [
+ "cutting"
+ ],
+ "order": 1,
+ "txt_idx": "cutted"
+ },
+ "model": "archaeological_context_records.relationtype"
+},
+{
+ "fields": {
+ "comment": "UE \u00e9quivalant \u00e0 une autre",
+ "available": true,
+ "tiny_label": null,
+ "label": "\u00c9quivaut \u00e0",
+ "symmetrical": true,
+ "inverse_relation": null,
+ "order": 1,
+ "txt_idx": "equals"
+ },
+ "model": "archaeological_context_records.relationtype"
+},
+{
+ "fields": {
+ "comment": "UE remplie par une autre",
+ "available": true,
+ "tiny_label": "",
+ "label": "Combl\u00e9e par",
+ "symmetrical": false,
+ "inverse_relation": [
+ "filling"
+ ],
+ "order": 1,
+ "txt_idx": "filled_by"
+ },
+ "model": "archaeological_context_records.relationtype"
+}
+]
diff --git a/archaeological_context_records/fixtures/initial_data_relation_type_norel-fr.json b/archaeological_context_records/fixtures/initial_data_relation_type_norel-fr.json
new file mode 100644
index 000000000..7f926b7d9
--- /dev/null
+++ b/archaeological_context_records/fixtures/initial_data_relation_type_norel-fr.json
@@ -0,0 +1,132 @@
+[
+{
+ "fields": {
+ "comment": "UE en coupant une autre",
+ "available": true,
+ "tiny_label": "",
+ "label": "Coupe",
+ "symmetrical": false,
+ "inverse_relation": null,
+ "order": 1,
+ "txt_idx": "cutting"
+ },
+ "model": "archaeological_context_records.relationtype"
+},
+{
+ "fields": {
+ "comment": "UE en remplissant une autre (qui doit \u00eatre vraisemblablement une US de creusement)",
+ "available": true,
+ "tiny_label": "",
+ "label": "Comble",
+ "symmetrical": false,
+ "inverse_relation": null,
+ "order": 1,
+ "txt_idx": "filling"
+ },
+ "model": "archaeological_context_records.relationtype"
+},
+{
+ "fields": {
+ "comment": "UE situ\u00e9e au-dessus d'une autre",
+ "available": true,
+ "tiny_label": "",
+ "label": "Sur",
+ "symmetrical": false,
+ "inverse_relation": null,
+ "order": 1,
+ "txt_idx": "is_above"
+ },
+ "model": "archaeological_context_records.relationtype"
+},
+{
+ "fields": {
+ "comment": "\u00c0 pr\u00e9ciser ",
+ "available": true,
+ "tiny_label": "",
+ "label": "Relation indirecte",
+ "symmetrical": true,
+ "inverse_relation": null,
+ "order": 1,
+ "txt_idx": "indirect_relation"
+ },
+ "model": "archaeological_context_records.relationtype"
+},
+{
+ "fields": {
+ "comment": "UE en incluant (regroupant) d'autres (ex: tranch\u00e9e / structures ou entre structure / US, etc.)",
+ "available": true,
+ "tiny_label": "",
+ "label": "Inclut",
+ "symmetrical": false,
+ "inverse_relation": null,
+ "order": 1,
+ "txt_idx": "include"
+ },
+ "model": "archaeological_context_records.relationtype"
+},
+{
+ "fields": {
+ "comment": "UE faisant partie d'une autre",
+ "available": true,
+ "tiny_label": "",
+ "label": "Incluse dans",
+ "symmetrical": false,
+ "inverse_relation": null,
+ "order": 1,
+ "txt_idx": "is_included"
+ },
+ "model": "archaeological_context_records.relationtype"
+},
+{
+ "fields": {
+ "comment": "UE situ\u00e9e en-dessous d'une autre",
+ "available": true,
+ "tiny_label": "",
+ "label": "Sous",
+ "symmetrical": false,
+ "inverse_relation": null,
+ "order": 1,
+ "txt_idx": "is_below"
+ },
+ "model": "archaeological_context_records.relationtype"
+},
+{
+ "fields": {
+ "comment": "UE recoup\u00e9e par une autre",
+ "available": true,
+ "tiny_label": "",
+ "label": "Coup\u00e9e par",
+ "symmetrical": false,
+ "inverse_relation": null,
+ "order": 1,
+ "txt_idx": "cutted"
+ },
+ "model": "archaeological_context_records.relationtype"
+},
+{
+ "fields": {
+ "comment": "UE \u00e9quivalant \u00e0 une autre",
+ "available": true,
+ "tiny_label": null,
+ "label": "\u00c9quivaut \u00e0",
+ "symmetrical": true,
+ "inverse_relation": null,
+ "order": 1,
+ "txt_idx": "equals"
+ },
+ "model": "archaeological_context_records.relationtype"
+},
+{
+ "fields": {
+ "comment": "UE remplie par une autre",
+ "available": true,
+ "tiny_label": "",
+ "label": "Combl\u00e9e par",
+ "symmetrical": false,
+ "inverse_relation": null,
+ "order": 1,
+ "txt_idx": "filled_by"
+ },
+ "model": "archaeological_context_records.relationtype"
+}
+]
diff --git a/archaeological_operations/fixtures/initial_data-fr.json b/archaeological_operations/fixtures/initial_data-fr.json
index 075231a80..a8822dd86 100644
--- a/archaeological_operations/fixtures/initial_data-fr.json
+++ b/archaeological_operations/fixtures/initial_data-fr.json
@@ -2723,49 +2723,6 @@
},
{
"fields": {
- "comment": "",
- "available": true,
- "tiny_label": null,
- "label": "Comprend",
- "symmetrical": false,
- "inverse_relation": [
- "is_in"
- ],
- "order": 1,
- "txt_idx": "has_got"
- },
- "model": "archaeological_operations.relationtype"
-},
-{
- "fields": {
- "comment": "",
- "available": true,
- "tiny_label": "",
- "label": "Comprise dans",
- "symmetrical": false,
- "inverse_relation": [
- "has_got"
- ],
- "order": 1,
- "txt_idx": "is_in"
- },
- "model": "archaeological_operations.relationtype"
-},
-{
- "fields": {
- "comment": "",
- "available": true,
- "tiny_label": "",
- "label": "Relation diffuse",
- "symmetrical": true,
- "inverse_relation": null,
- "order": 1,
- "txt_idx": "fuzzy_relation"
- },
- "model": "archaeological_operations.relationtype"
-},
-{
- "fields": {
"comment": "Le rapport a \u00e9t\u00e9 re\u00e7u mais n'est pas encore d\u00e9pouill\u00e9.",
"available": true,
"txt_idx": "received",
diff --git a/archaeological_operations/fixtures/initial_data_relation_type-fr.json b/archaeological_operations/fixtures/initial_data_relation_type-fr.json
new file mode 100644
index 000000000..bf388ff97
--- /dev/null
+++ b/archaeological_operations/fixtures/initial_data_relation_type-fr.json
@@ -0,0 +1,45 @@
+[
+{
+ "fields": {
+ "comment": "",
+ "available": true,
+ "tiny_label": null,
+ "label": "Comprend",
+ "symmetrical": false,
+ "inverse_relation": [
+ "is_in"
+ ],
+ "order": 1,
+ "txt_idx": "has_got"
+ },
+ "model": "archaeological_operations.relationtype"
+},
+{
+ "fields": {
+ "comment": "",
+ "available": true,
+ "tiny_label": "",
+ "label": "Comprise dans",
+ "symmetrical": false,
+ "inverse_relation": [
+ "has_got"
+ ],
+ "order": 1,
+ "txt_idx": "is_in"
+ },
+ "model": "archaeological_operations.relationtype"
+},
+{
+ "fields": {
+ "comment": "",
+ "available": true,
+ "tiny_label": "",
+ "label": "Relation diffuse",
+ "symmetrical": true,
+ "inverse_relation": null,
+ "order": 1,
+ "txt_idx": "fuzzy_relation"
+ },
+ "model": "archaeological_operations.relationtype"
+}
+]
diff --git a/archaeological_operations/fixtures/initial_data_relation_type_norel-fr.json b/archaeological_operations/fixtures/initial_data_relation_type_norel-fr.json
new file mode 100644
index 000000000..071792ffe
--- /dev/null
+++ b/archaeological_operations/fixtures/initial_data_relation_type_norel-fr.json
@@ -0,0 +1,41 @@
+[
+{
+ "fields": {
+ "comment": "",
+ "available": true,
+ "tiny_label": null,
+ "label": "Comprend",
+ "symmetrical": false,
+ "inverse_relation": null,
+ "order": 1,
+ "txt_idx": "has_got"
+ },
+ "model": "archaeological_operations.relationtype"
+},
+{
+ "fields": {
+ "comment": "",
+ "available": true,
+ "tiny_label": "",
+ "label": "Comprise dans",
+ "symmetrical": false,
+ "inverse_relation": null,
+ "order": 1,
+ "txt_idx": "is_in"
+ },
+ "model": "archaeological_operations.relationtype"
+},
+{
+ "fields": {
+ "comment": "",
+ "available": true,
+ "tiny_label": "",
+ "label": "Relation diffuse",
+ "symmetrical": true,
+ "inverse_relation": null,
+ "order": 1,
+ "txt_idx": "fuzzy_relation"
+ },
+ "model": "archaeological_operations.relationtype"
+}
+]