NCCOOS Trac Projects: Top | Web | Platforms | Processing | Viz | Sprints | Sandbox | (Wind)

root/spongenet/trunk/spongenet/tests/expand/bad_config.py

Revision 351 (checked in by cbc, 14 years ago)

Add some functions and tests to parse module.

Line 
1 #!/usr/bin/env python
2
3 """Bad test configuration for the expand module."""
4
5 import os
6
7 EXPAND_TEST_PATH = os.path.join("tests", "expand")
8
9 ZIPDIR = os.path.join(os.path.dirname(os.path.abspath(__file__)),
10                       EXPAND_TEST_PATH, "zip")
11 XMLDIR = os.path.join(os.path.dirname(os.path.abspath(__file__)),
12                       EXPAND_TEST_PATH, "xml")
13 # The next line has a SyntaxError
14 ZIPDIR_PATTERN = "[0-9][0-9][0-9][0-9]_[0-9][0-9]
15 ZIPFILE_PATTERN = "[0-9][0-9][0-9][0-9][0-9][0-9][0-9][0-9]T" \
16                   "[0-9][0-9][0-9][0-9][0-9][0-9]-" \
17                   "[0-9][0-9][0-9][0-9][0-9][0-9][0-9][0-9]T" \
18                   "[0-9][0-9][0-9][0-9][0-9][0-9].zip"
19 XMLFILE_PATTERN = "[0-9][0-9][0-9][0-9][0-9][0-9][0-9][0-9]T" \
20                   "[0-9][0-9][0-9][0-9][0-9][0-9].xml"
21
Note: See TracBrowser for help on using the browser.