fix module name of integration tests for Windows

This commit is contained in:
Akinori Hattori
2014-07-19 10:36:31 +09:00
parent 5b15c0ba84
commit 68150f2814

View File

@@ -139,7 +139,7 @@ class IntegrationTestCase(object):
@property @property
def module_name(self): def module_name(self):
return re.sub('.*/|\.py$', '', self.path) return os.path.splitext(os.path.basename(self.path))[0]
@property @property
def line_nr_test(self): def line_nr_test(self):