Revision 351
(checked in by cbc, 14 years ago)
|
Add some functions and tests to parse module.
|
Line | |
---|
1 |
|
---|
2 |
|
---|
3 |
"""Valid 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 |
ZIPDIR_PATTERN = "[0-9][0-9][0-9][0-9]_[0-9][0-9]" |
---|
14 |
ZIPFILE_PATTERN = "[0-9][0-9][0-9][0-9][0-9][0-9][0-9][0-9]T" \ |
---|
15 |
"[0-9][0-9][0-9][0-9][0-9][0-9]-" \ |
---|
16 |
"[0-9][0-9][0-9][0-9][0-9][0-9][0-9][0-9]T" \ |
---|
17 |
"[0-9][0-9][0-9][0-9][0-9][0-9].zip" |
---|
18 |
XMLFILE_PATTERN = "[0-9][0-9][0-9][0-9][0-9][0-9][0-9][0-9]T" \ |
---|
19 |
"[0-9][0-9][0-9][0-9][0-9][0-9].xml" |
---|