... |
... |
@@ -40,31 +40,16 @@ MESSAGES = [ |
40
|
40
|
]
|
41
|
41
|
DATA_DIR = os.path.join(
|
42
|
42
|
os.path.dirname(os.path.realpath(__file__)), 'data')
|
43
|
|
-
|
44
|
|
-HELLO_DIR = os.path.join(DATA_DIR, 'hello')
|
45
|
|
-HELLO2_DIR = os.path.join(HELLO_DIR, 'hello2')
|
46
|
|
-HELLO3_DIR = os.path.join(HELLO_DIR, 'hello3')
|
47
|
|
-HELLO4_DIR = os.path.join(HELLO3_DIR, 'hello4')
|
48
|
|
-HELLO5_DIR = os.path.join(HELLO4_DIR, 'hello5')
|
49
|
|
-
|
50
|
43
|
FILES = [
|
51
|
44
|
(os.path.join(DATA_DIR, 'void'),),
|
52
|
45
|
(os.path.join(DATA_DIR, 'hello.cc'),),
|
53
|
46
|
(os.path.join(DATA_DIR, 'hello', 'hello.c'),
|
54
|
|
- os.path.join(DATA_DIR, 'hello', 'hello.sh')),
|
55
|
|
- (os.path.join(HELLO2_DIR, 'hello.h'),),
|
56
|
|
- (os.path.join(HELLO5_DIR, 'hello.h'),), ]
|
57
|
|
-
|
|
47
|
+ os.path.join(DATA_DIR, 'hello', 'hello.h'))]
|
58
|
48
|
FOLDERS = [
|
59
|
|
- (HELLO_DIR, HELLO2_DIR, HELLO3_DIR, HELLO4_DIR, HELLO5_DIR)]
|
60
|
|
-
|
|
49
|
+ (os.path.join(DATA_DIR, 'hello'),)]
|
61
|
50
|
DIRECTORIES = [
|
62
|
|
- (HELLO_DIR,),
|
63
|
|
- (DATA_DIR,),
|
64
|
|
- (HELLO2_DIR,),
|
65
|
|
- (HELLO3_DIR,),
|
66
|
|
- (HELLO4_DIR,),
|
67
|
|
- (HELLO5_DIR,), ]
|
|
51
|
+ (os.path.join(DATA_DIR, 'hello'),),
|
|
52
|
+ (os.path.join(DATA_DIR, 'hello'), DATA_DIR)]
|
68
|
53
|
|
69
|
54
|
|
70
|
55
|
@pytest.mark.parametrize('blobs', BLOBS)
|