mirror of
https://salsa.debian.org/freeipa-team/freeipa.git
synced 2025-02-25 18:55:28 -06:00
Cleaned up Env.__setattr__() and Env.__setitem__() a bit updated their unit tests
This commit is contained in:
@@ -40,7 +40,7 @@ def test_set_languages():
|
||||
assert not hasattr(c, 'languages')
|
||||
c.languages = None
|
||||
e = raises(StandardError, f, *langs)
|
||||
assert str(e) == OVERRIDE_ERROR % ('context.languages', None, langs)
|
||||
assert str(e) == OVERRIDE_ERROR % ('context', 'languages', None, langs)
|
||||
del c.languages
|
||||
|
||||
# Test setting the languages:
|
||||
|
||||
Reference in New Issue
Block a user