summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTristan Van Berkom <tristan.vanberkom@codethink.co.uk>2019-01-11 15:56:33 -0500
committerTristan Van Berkom <tristan.vanberkom@codethink.co.uk>2019-01-16 18:35:21 -0500
commit3324490e0669ba15a8b1d54051ff4b387e28b27a (patch)
tree787d332e9b5b09268de9cdeb5855f5f251a14e8a
parent353a682fafa36b4e3df31e35bcd10ec4893399cb (diff)
downloadbuildstream-3324490e0669ba15a8b1d54051ff4b387e28b27a.tar.gz
tests: Migrate context test into the internals directory
-rw-r--r--tests/context/__init__.py0
-rw-r--r--tests/internals/context.py (renamed from tests/context/context.py)2
-rw-r--r--tests/internals/context/malformed.yaml (renamed from tests/context/data/malformed.yaml)0
-rw-r--r--tests/internals/context/notdict.yaml (renamed from tests/context/data/notdict.yaml)0
-rw-r--r--tests/internals/context/userconf.yaml (renamed from tests/context/data/userconf.yaml)0
5 files changed, 1 insertions, 1 deletions
diff --git a/tests/context/__init__.py b/tests/context/__init__.py
deleted file mode 100644
index e69de29bb..000000000
--- a/tests/context/__init__.py
+++ /dev/null
diff --git a/tests/context/context.py b/tests/internals/context.py
index 35428105b..5a4b37ac5 100644
--- a/tests/context/context.py
+++ b/tests/internals/context.py
@@ -6,7 +6,7 @@ from buildstream._exceptions import LoadError, LoadErrorReason
DATA_DIR = os.path.join(
os.path.dirname(os.path.realpath(__file__)),
- 'data',
+ 'context',
)
diff --git a/tests/context/data/malformed.yaml b/tests/internals/context/malformed.yaml
index 88d1960b4..88d1960b4 100644
--- a/tests/context/data/malformed.yaml
+++ b/tests/internals/context/malformed.yaml
diff --git a/tests/context/data/notdict.yaml b/tests/internals/context/notdict.yaml
index e15deca98..e15deca98 100644
--- a/tests/context/data/notdict.yaml
+++ b/tests/internals/context/notdict.yaml
diff --git a/tests/context/data/userconf.yaml b/tests/internals/context/userconf.yaml
index e8e72d5ce..e8e72d5ce 100644
--- a/tests/context/data/userconf.yaml
+++ b/tests/internals/context/userconf.yaml