summaryrefslogtreecommitdiff
path: root/subplot/data.yaml
blob: 3b4d938d5eddbfdf8ffa9f3aeaa92579ca1a89f6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
- given: >
    a file (?P<filename>\\S+) containing "(?P<data>.*)"
  regex: true
  function: create_file_with_given_data

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

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

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

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

- then: files {first} and {second} match
  function: files_match