def test_current_from_test(): assert os.path.split(current.current_path())[-1] == 'tests'
def current_path(): return current.current_path()
def test_from_test(self): self.assertEqual(os.path.split(current.current_path())[-1], 'tests')