diff options
Diffstat (limited to 'src/engine/SCons/Node/NodeTests.py')
-rw-r--r-- | src/engine/SCons/Node/NodeTests.py | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/src/engine/SCons/Node/NodeTests.py b/src/engine/SCons/Node/NodeTests.py index 4f7b65a..cd546cd 100644 --- a/src/engine/SCons/Node/NodeTests.py +++ b/src/engine/SCons/Node/NodeTests.py @@ -704,6 +704,15 @@ class NodeTestCase(unittest.TestCase): node.set_always_build(3) assert node.always_build == 3 + def test_set_noclean(self): + """Test setting a Node's noclean value + """ + node = SCons.Node.Node() + node.set_noclean() + assert node.noclean + node.set_noclean(7) + assert node.noclean == 7 + def test_set_precious(self): """Test setting a Node's precious value """ |