Coverage for tests/test_simple.py : 54%

Hot-keys on this page
r m x p toggle line displays
j k next/prev highlighted chunk
0 (zero) top of page
1 (one) first highlighted chunk
""" Very simple tests to show that the test running infrastructure can run more than one test file. There is nothing scons-specific about these tests. """
"""Tests that don't rely on any external code."""
self.assertEqual(2 + 2, 4)
"""Test the environment. The test will fail if the tests are run by anything other than SCons.""" envVar = "XDG_CACHE_HOME" self.assertIn(envVar, os.environ) self.assertTrue(os.path.exists(os.environ[envVar]), f"Check path {os.environ[envVar]}")
unittest.main() |