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-12 17:10:21 -0500
commitf92525715fdf0591c41ddc07480db87bec516788 (patch)
treed226a655e06d1fc4cd21f5bc7bdd649a6f16c2c7
parent50a38b068a2d1560215646706a2b66f066006253 (diff)
downloadbuildstream-f92525715fdf0591c41ddc07480db87bec516788.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