Show More
@@ -38,8 +38,12 b' except ImportError:' | |||||
38 |
|
38 | |||
39 | test_file_path = split(abspath(__file__))[0] |
|
39 | test_file_path = split(abspath(__file__))[0] | |
40 |
|
40 | |||
|
41 | ||||
|
42 | # | |||
|
43 | # Setup/teardown functions/decorators | |||
41 | # |
|
44 | # | |
42 |
|
45 | |||
|
46 | ||||
43 | def setup(): |
|
47 | def setup(): | |
44 | try: |
|
48 | try: | |
45 | os.makedirs("home_test_dir/_ipython") |
|
49 | os.makedirs("home_test_dir/_ipython") | |
@@ -76,6 +80,11 b' def teardown_environment():' | |||||
76 |
|
80 | |||
77 | with_enivronment = with_setup(setup_environment, teardown_environment) |
|
81 | with_enivronment = with_setup(setup_environment, teardown_environment) | |
78 |
|
82 | |||
|
83 | ||||
|
84 | # | |||
|
85 | # Tests for get_home_dir | |||
|
86 | # | |||
|
87 | ||||
79 | @with_enivronment |
|
88 | @with_enivronment | |
80 | def test_get_home_dir_1(): |
|
89 | def test_get_home_dir_1(): | |
81 | """Testcase for py2exe logic, un-compressed lib |
|
90 | """Testcase for py2exe logic, un-compressed lib |
General Comments 0
You need to be logged in to leave comments.
Login now