mapnik/scons/scons-local-4.0.1/SCons/EnvironmentValuesTest.py
Artem Pavlenko e74be337b0 Upgrade to Scons 4.0.1
- remove SourceCode (depricated in >= 4.x)
 - remove 'FAST' option as SetCacheMode('force') broken in >= 3.0.5
2020-11-19 10:04:04 +00:00

16 lines
385 B
Python

import unittest
from SCons.EnvironmentValues import EnvironmentValues
class MyTestCase(unittest.TestCase):
def test_simple_environmentValues(self):
"""Test comparing SubstitutionEnvironments
"""
env1 = EnvironmentValues(XXX='x')
env2 = EnvironmentValues(XXX='x',XX="$X", X1="${X}", X2="$($X$)")
if __name__ == '__main__':
unittest.main()