summaryrefslogtreecommitdiff
path: root/subplot/data.yaml
blob: 533237f0789bfc9771cacea9aefd6b07880b75ed (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
- given: a file {filename} containing "{data:text}"
  impl:
    python:
      function: create_file_with_given_data

- given: "a file {filename} containing some random data"
  impl:
    python:
      function: create_file_with_random_data

- given: "a Unix socket {filename}"
  impl:
    python:
      function: create_unix_socket

- given: "a named pipe {filename}"
  impl:
    python:
      function: create_fifo

- given: a cache directory tag in {dirpath}
  impl:
    python:
      function: create_cachedir_tag_in

- given: "a file in {dirname} with a non-UTF8 filename"
  impl:
    python:
      function: create_nonutf8_filename

- given: file {filename} has mode {mode}
  impl:
    python:
      function: chmod_file

- given: symbolink link {linkname} that points at {target}
  impl:
    python:
      function: create_symlink

- given: a manifest of the directory {dirname} in {manifest}
  impl:
    python:
      function: create_manifest_of_live

- given: a manifest of the directory {dirname} restored in {restored} in {manifest}
  impl:
    python:
      function: create_manifest_of_restored

- given: "JSON file {json_name} converted from YAML file {yaml_name}"
  impl:
    python:
      function: convert_yaml_to_json

- then: "stdout, as JSON, exactly matches file {filename}"
  impl:
    python:
      function: match_stdout_to_json_file_exactly

- then: "stdout, as JSON, has all the values in file {filename}"
  impl:
    python:
      function: match_stdout_to_json_file_superset

- then: "file {filename} is restored to {restored}"
  impl:
    python:
      function: file_is_restored

- then: "file {filename} is not restored to {restored}"
  impl:
    python:
      function: file_is_not_restored

- then: "manifests {expected} and {actual} match"
  impl:
    python:
      function: manifests_match

- then: "file {filename} is only readable by owner"
  impl:
    python:
      function: file_is_readable_by_owner

- then: "file {filename} does not contain \"{pattern:text}\""
  impl:
    python:
      function: file_does_not_contain

- then: "files {filename1} and {filename2} are different"
  impl:
    python:
      function: files_are_different

- then: "files {filename1} and {filename2} are identical"
  impl:
    python:
      function: files_are_identical