]> git.phdru.name Git - m_lib.git/blob - m_lib/flad/test/test5.py
45b70aaa5445ff00c2303893dbc2d014cb489b35
[m_lib.git] / m_lib / flad / test / test5.py
1 #! /usr/bin/env python
2
3
4 from m_lib.flad import fladc
5
6
7 def test():
8    print "Test:",
9
10    try: # Note! This must raise fladc.error - too many records in the file
11       conf = fladc.load_file("test.txt")
12    except fladc.error:
13       print "Ok"
14    else:
15       print "Error!"
16
17
18 if __name__ == "__main__":
19    test()