diff options
author | Mark Spruiell <mes@zeroc.com> | 2004-09-01 22:55:22 +0000 |
---|---|---|
committer | Mark Spruiell <mes@zeroc.com> | 2004-09-01 22:55:22 +0000 |
commit | c8e248c5452923f4f4692ebe6f142d59d4172ff4 (patch) | |
tree | 3c28c5c58edba2cab0288e90f18cff810c2ae05d /py/test/Ice/inheritance/AllTests.py | |
parent | Added missing .depend (diff) | |
download | ice-c8e248c5452923f4f4692ebe6f142d59d4172ff4.tar.bz2 ice-c8e248c5452923f4f4692ebe6f142d59d4172ff4.tar.xz ice-c8e248c5452923f4f4692ebe6f142d59d4172ff4.zip |
global definition fixes for tests & demos cleaning up translator adding
support for dynamically loading Slice files modifying tests to
dynamically load Slice
Diffstat (limited to 'py/test/Ice/inheritance/AllTests.py')
-rw-r--r-- | py/test/Ice/inheritance/AllTests.py | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/py/test/Ice/inheritance/AllTests.py b/py/test/Ice/inheritance/AllTests.py index 880660a219e..572e5048e76 100644 --- a/py/test/Ice/inheritance/AllTests.py +++ b/py/test/Ice/inheritance/AllTests.py @@ -7,7 +7,10 @@ # # ********************************************************************** -import Ice, Test, _Top +import Ice + +Ice.loadSlice('Test.ice') +import Test def test(b): if not b: @@ -21,7 +24,7 @@ def allTests(communicator): print "ok" print "testing checked cast... ", - initial = _Top.InitialPrx.checkedCast(base) + initial = Test.InitialPrx.checkedCast(base) test(initial) test(initial == base) print "ok" |