[6de8ee]: Test / examples / notany.tst  Maximize  Restore  History

Download this file

35 lines (30 with data), 780 Bytes

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
# notany.tst
>>> import sys
>>> import pyke
>>> import os
>>> new_path = os.path.join(os.path.dirname(os.path.dirname(pyke.__file__)),
... 'examples/notany')
>>> sys.path.append(new_path)
>>> import driver
>>> driver.fc_test()
egon has no uncle
ralf has no uncle
anton has no uncle
elisabeth has no uncle
karin has no uncle
sabine has no uncle
anton has no aunt
elisabeth has no aunt
karin has no aunt
sabine has no aunt
>>> driver.bc_test()
anton has no aunt
elisabeth has no aunt
karin has no aunt
sabine has no aunt
egon has no uncle
ralf has no uncle
anton has no uncle
elisabeth has no uncle
karin has no uncle
sabine has no uncle