diff options
author | Manuel QuiƱones <manuq@laptop.org> | 2012-09-21 11:08:31 -0300 |
---|---|---|
committer | Sergey V. Udaltsov <svu@gnome.org> | 2012-09-22 01:36:09 +0100 |
commit | 4d5b097244b5b6883f3405d804510a26027d984b (patch) | |
tree | 14cb4bcef7afcff1230c6169d41cf4a5ee32eb79 | |
parent | 7ec83ee5d9a3ebb21d6da198dc3aa1363a704c45 (diff) |
Fix ConfigRec.set_model testcase for pygobjectlibxklavier-5.3
Don't do a new Xkl.ConfigRec before printing the output.
Signed-off-by: Manuel QuiƱones <manuq@laptop.org>
-rwxr-xr-x | tests/test_gi.py | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/tests/test_gi.py b/tests/test_gi.py index a7337d1..66be519 100755 --- a/tests/test_gi.py +++ b/tests/test_gi.py @@ -108,10 +108,6 @@ original_model = rec.model rec.set_model("pc105") print('Curent configuration:') -rec = Xkl.ConfigRec() -if not rec.get_from_server(engine): - print('Failed to get configuration from server') - sys.exit(1) print(' Model:', rec.model) print(' Layouts:', rec.layouts) print(' Variants:', rec.variants) @@ -121,10 +117,6 @@ print('Changing back to original model...') rec.set_model(original_model) print('Curent configuration:') -rec = Xkl.ConfigRec() -if not rec.get_from_server(engine): - print('Failed to get configuration from server') - sys.exit(1) print(' Model:', rec.model) print(' Layouts:', rec.layouts) print(' Variants:', rec.variants) |