diff options
Diffstat (limited to 'lib/bb/tests')
-rw-r--r-- | lib/bb/tests/data.py | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/bb/tests/data.py b/lib/bb/tests/data.py index 895489e02..da3f4e66f 100644 --- a/lib/bb/tests/data.py +++ b/lib/bb/tests/data.py @@ -503,3 +503,7 @@ class Remote(unittest.TestCase): # Test client side data is incorporated in python expansion (which is done on server) d2.setVar('FOO', 'bar') self.assertEqual(d2.expand('${@d.getVar("FOO")}'), 'bar') + # Test overrides work + d1.setVar('FOO_test', 'baz') + d1.appendVar('OVERRIDES', ':test') + self.assertEqual(d2.getVar('FOO'), 'baz') |