diff --git a/gpfit/tests/t_examples.py b/gpfit/tests/t_examples.py index bf9ad72..97612fe 100644 --- a/gpfit/tests/t_examples.py +++ b/gpfit/tests/t_examples.py @@ -2,6 +2,7 @@ import unittest import os from gpkit.tests.helpers import generate_example_tests +from gpkit import settings class TestExamples(unittest.TestCase): @@ -37,7 +38,8 @@ def test_hoburgabbeel_ex6_1(self, example): FILE_DIR = os.path.dirname(os.path.realpath(__file__)) EXAMPLE_DIR = os.path.abspath(FILE_DIR + '../../../docs/source/examples') # use gpkit.tests.helpers.generate_example_tests default: only default solver -TESTS = generate_example_tests(EXAMPLE_DIR, [TestExamples]) +TESTS = generate_example_tests(EXAMPLE_DIR, [TestExamples], + settings["installed_solvers"]) if __name__ == "__main__":