File tree Expand file tree Collapse file tree 2 files changed +3
-2
lines changed Expand file tree Collapse file tree 2 files changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -3524,7 +3524,7 @@ def tearDown(self):
3524
3524
test_id = "%s.%s.%s" % (self .__class__ .__module__ ,
3525
3525
self .__class__ .__name__ ,
3526
3526
self ._testMethodName )
3527
- test_logpath = "latest_logs /" + test_id
3527
+ test_logpath = self . log_path + " /" + test_id
3528
3528
if not os .path .exists (test_logpath ):
3529
3529
try :
3530
3530
os .makedirs (test_logpath )
@@ -3544,7 +3544,7 @@ def tearDown(self):
3544
3544
test_id = "%s.%s.%s" % (self .__class__ .__module__ ,
3545
3545
self .__class__ .__name__ ,
3546
3546
self ._testMethodName )
3547
- test_logpath = "latest_logs /" + test_id
3547
+ test_logpath = self . log_path + " /" + test_id
3548
3548
if not os .path .exists (test_logpath ):
3549
3549
try :
3550
3550
os .makedirs (test_logpath )
Original file line number Diff line number Diff line change @@ -100,6 +100,7 @@ def beforeTest(self, test):
100
100
test .test .environment = self .options .environment
101
101
test .test .env = self .options .environment # Add a shortened version
102
102
test .test .data = self .options .data
103
+ test .test .log_path = self .options .log_path
103
104
test .test .args = self .options
104
105
test .test .report_on = self .report_on
105
106
self .test_count += 1
You can’t perform that action at this time.
0 commit comments