summaryrefslogtreecommitdiff
path: root/tests/loader
diff options
context:
space:
mode:
authorTristan Van Berkom <tristan.vanberkom@codethink.co.uk>2016-12-10 15:20:16 +0900
committerTristan Van Berkom <tristan.vanberkom@codethink.co.uk>2016-12-10 15:20:16 +0900
commit4a1f199698b31595212a8bc94e2085a9489fdc2f (patch)
treee7e87235c842cb17a7074a4da83715d35eed6d65 /tests/loader
parent6556a13823107245e77682b651ec0c4ecca190b8 (diff)
downloadbuildstream-4a1f199698b31595212a8bc94e2085a9489fdc2f.tar.gz
pep8 fixes in loader includes test case
Diffstat (limited to 'tests/loader')
-rw-r--r--tests/loader/includes.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/tests/loader/includes.py b/tests/loader/includes.py
index 60b20d557..ecda62cc2 100644
--- a/tests/loader/includes.py
+++ b/tests/loader/includes.py
@@ -10,6 +10,7 @@ DATA_DIR = os.path.join(
'includes',
)
+
##############################################################
# Test Basic Include Functionality #
##############################################################
@@ -31,6 +32,7 @@ def test_basic_include(datafiles):
assert(thelist[0] == 'Element 1')
assert(thelist[1] == 'Element 2')
+
@pytest.mark.datafiles(DATA_DIR)
def test_invalid_type_include(datafiles):
@@ -42,6 +44,7 @@ def test_invalid_type_include(datafiles):
assert (exc.value.reason == LoadErrorReason.ILLEGAL_COMPOSITE)
+
@pytest.mark.datafiles(DATA_DIR)
def test_overwrite_kind_include(datafiles):
@@ -53,6 +56,7 @@ def test_overwrite_kind_include(datafiles):
assert (exc.value.reason == LoadErrorReason.ILLEGAL_COMPOSITE)
+
@pytest.mark.datafiles(DATA_DIR)
def test_missing_include(datafiles):