コード例 #1
0
ファイル: test_current.py プロジェクト: xflr6/current
def test_current_from_test():
    assert os.path.split(current.current_path())[-1] == 'tests'
コード例 #2
0
ファイル: spam.py プロジェクト: pombredanne/current
def current_path():
    return current.current_path()
コード例 #3
0
ファイル: test_current.py プロジェクト: pombredanne/current
 def test_from_test(self):
     self.assertEqual(os.path.split(current.current_path())[-1], 'tests')