+++ /dev/null
-#! /usr/bin/env python\r
-"""Whimpy test script for the al module\r
- Roger E. Masse\r
-"""\r
-from test.test_support import verbose, import_module\r
-al = import_module('al', deprecated=True)\r
-\r
-alattrs = ['__doc__', '__name__', 'getdefault', 'getminmax', 'getname', 'getparams',\r
- 'newconfig', 'openport', 'queryparams', 'setparams']\r
-\r
-# This is a very unobtrusive test for the existence of the al module and all its\r
-# attributes. More comprehensive examples can be found in Demo/al\r
-\r
-def test_main():\r
- # touch all the attributes of al without doing anything\r
- if verbose:\r
- print 'Touching al module attributes...'\r
- for attr in alattrs:\r
- if verbose:\r
- print 'touching: ', attr\r
- getattr(al, attr)\r
-\r
-\r
-if __name__ == '__main__':\r
- test_main()\r