Tests: Use absolute path to spec examples

This commit is contained in:
Adrien Vergé
2016-03-04 12:15:26 +01:00
parent b879e9a98f
commit 29c1c60143

View File

@@ -121,7 +121,8 @@ conf_overrides = {
'example-10.2': ('indentation: {indent-sequences: no}\n'),
}
files = os.listdir('tests/yaml-1.2-spec-examples')
files = os.listdir(os.path.join(os.path.dirname(os.path.realpath(__file__)),
'yaml-1.2-spec-examples'))
assert len(files) == 132