summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorGreg Becker <becker33@llnl.gov>2019-12-10 13:19:09 -0800
committerAdam J. Stewart <ajstewart426@gmail.com>2019-12-10 15:19:09 -0600
commit917224cb3c41a220b601bf11e65ebf57c37418ab (patch)
treebd882347705ab9f1ec3ca39f172d0abdb3dc1e9c /lib
parent5b3b52286195bae22b5dfb4af6b35b832bd684fd (diff)
downloadspack-917224cb3c41a220b601bf11e65ebf57c37418ab.tar.gz
spack-917224cb3c41a220b601bf11e65ebf57c37418ab.tar.bz2
spack-917224cb3c41a220b601bf11e65ebf57c37418ab.tar.xz
spack-917224cb3c41a220b601bf11e65ebf57c37418ab.zip
pytest: add __init__ files for all test subdirs (#13889)
* pytest: add __init__ files for all test subdirs * add licenses to empty files * Fix Sphinx warning message about comment within docstring * Further fixes to Sphinx docstring
Diffstat (limited to 'lib')
-rw-r--r--lib/spack/spack/test/cmd/__init__.py4
-rw-r--r--lib/spack/spack/test/cmd/env.py12
-rw-r--r--lib/spack/spack/test/llnl/util/__init.py4
-rw-r--r--lib/spack/spack/test/modules/__init__.py4
-rw-r--r--lib/spack/spack/test/util/__init__.py4
5 files changed, 22 insertions, 6 deletions
diff --git a/lib/spack/spack/test/cmd/__init__.py b/lib/spack/spack/test/cmd/__init__.py
new file mode 100644
index 0000000000..94f8ac4d9e
--- /dev/null
+++ b/lib/spack/spack/test/cmd/__init__.py
@@ -0,0 +1,4 @@
+# Copyright 2013-2019 Lawrence Livermore National Security, LLC and other
+# Spack Project Developers. See the top-level COPYRIGHT file for details.
+#
+# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/lib/spack/spack/test/cmd/env.py b/lib/spack/spack/test/cmd/env.py
index 85413a7939..6de1546e09 100644
--- a/lib/spack/spack/test/cmd/env.py
+++ b/lib/spack/spack/test/cmd/env.py
@@ -786,13 +786,13 @@ def test_indirect_build_dep():
@pytest.mark.usefixtures('config')
def test_store_different_build_deps():
r"""Ensure that an environment can store two instances of a build-only
-Dependency:
+ dependency::
- x y
- /| (l) | (b)
- (b) | y z2
- \| (b) # noqa: W605
- z1
+ x y
+ /| (l) | (b)
+ (b) | y z2
+ \| (b)
+ z1
"""
default = ('build', 'link')
diff --git a/lib/spack/spack/test/llnl/util/__init.py b/lib/spack/spack/test/llnl/util/__init.py
new file mode 100644
index 0000000000..94f8ac4d9e
--- /dev/null
+++ b/lib/spack/spack/test/llnl/util/__init.py
@@ -0,0 +1,4 @@
+# Copyright 2013-2019 Lawrence Livermore National Security, LLC and other
+# Spack Project Developers. See the top-level COPYRIGHT file for details.
+#
+# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/lib/spack/spack/test/modules/__init__.py b/lib/spack/spack/test/modules/__init__.py
new file mode 100644
index 0000000000..94f8ac4d9e
--- /dev/null
+++ b/lib/spack/spack/test/modules/__init__.py
@@ -0,0 +1,4 @@
+# Copyright 2013-2019 Lawrence Livermore National Security, LLC and other
+# Spack Project Developers. See the top-level COPYRIGHT file for details.
+#
+# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/lib/spack/spack/test/util/__init__.py b/lib/spack/spack/test/util/__init__.py
new file mode 100644
index 0000000000..94f8ac4d9e
--- /dev/null
+++ b/lib/spack/spack/test/util/__init__.py
@@ -0,0 +1,4 @@
+# Copyright 2013-2019 Lawrence Livermore National Security, LLC and other
+# Spack Project Developers. See the top-level COPYRIGHT file for details.
+#
+# SPDX-License-Identifier: (Apache-2.0 OR MIT)