summaryrefslogtreecommitdiff
path: root/tox.ini
diff options
context:
space:
mode:
authorDylan Baker <baker.dylan.c@gmail.com>2015-10-21 00:51:35 -0700
committerDylan Baker <baker.dylan.c@gmail.com>2015-10-29 17:56:30 -0700
commitcffbe44c9db0c76c094f740d9082b2dd5acf2b67 (patch)
treeee14cf95932a238465b18083063a792b20594fca /tox.ini
parent41c514c9293e394f2a0d767fa526f8bbb189a986 (diff)
framework/tests/oglconform_tests.py: Add tests for tests/oglconform.py
This adds a pretty extensive set of tests for oglconform.py, with the goal of making further cleanups and refactors easier and not introducing regressions. This adds a dependency of mock for the unittests. No production code needs this dependency, so this wont affect most (any?) piglit users. Mock allows for better testing, in fact, it allows oglconform to be tested even when it's not installed. Signed-off-by: Dylan Baker <dylanx.c.baker@intel.com>
Diffstat (limited to 'tox.ini')
-rw-r--r--tox.ini2
1 files changed, 2 insertions, 0 deletions
diff --git a/tox.ini b/tox.ini
index fe58771eb..d1f1f1610 100644
--- a/tox.ini
+++ b/tox.ini
@@ -16,6 +16,7 @@ deps =
mako
nose
coverage
+ mock
commands = nosetests framework/tests --attr="!privileged" --with-cover --cover-package=framework --cover-tests
[testenv:py27-accel]
@@ -24,6 +25,7 @@ deps =
mako
nose
coverage
+ mock
simplejson
lxml
backports.lzma