Révision 83c9a56a
Ajouté par Frédéric Péters il y a presque 4 ans
tests/test_archimed.py | ||
---|---|---|
13 | 13 |
|
14 | 14 |
|
15 | 15 |
def get_base_dir(filename): |
16 |
return file(os.path.join(os.path.dirname(__file__), 'data', filename)).read()
|
|
16 |
return open(os.path.join(os.path.dirname(__file__), 'data', filename)).read()
|
|
17 | 17 |
|
18 | 18 |
|
19 | 19 |
class MokcedRequestsResponse(mock.Mock): |
Formats disponibles : Unified diff
adapt bits for py3 (#19613)