summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
Diffstat (limited to 'tests')
-rw-r--r--tests/compare.py4
-rw-r--r--tests/tests.yml4
2 files changed, 4 insertions, 4 deletions
diff --git a/tests/compare.py b/tests/compare.py
index 7927467..56122aa 100644
--- a/tests/compare.py
+++ b/tests/compare.py
@@ -20,7 +20,7 @@
import os
import re
import subprocess
-import syck
+import yaml
import sys
import tempfile
@@ -220,7 +220,7 @@ class ExtractorTest(object):
test_db = open('tests.yml')
-test_data = syck.load(test_db.read(-1))
+test_data = yaml.load(test_db.read(-1))
test_db.close()
tests = [ExtractorTest(**data) for data in test_data]
for original_data in test_data:
diff --git a/tests/tests.yml b/tests/tests.yml
index a0758f0..b6b28f4 100644
--- a/tests/tests.yml
+++ b/tests/tests.yml
@@ -461,7 +461,7 @@
input: |
h
o
- grep: "contains 2 other archive file\(s\), out of 2 file\(s\)"
+ grep: 'contains 2 other archive file\(s\), out of 2 file\(s\)'
baseline: |
tar -xf $1
cd subdir
@@ -646,7 +646,7 @@
r
l
n
- grep: "^test-deep-recursion/subsubdir/test-text\.gz$"
+ grep: '^test-deep-recursion/subsubdir/test-text\.gz$'
- name: partly failed extraction
options: -n