travis-ci
12232 of 12653 relevant lines covered (96.67%)
2.52 hits per line
1 |
# -*- coding: utf-8 -*-
|
|
2 |
import os |
10 all except TOX_ENV=文本整合試驗, TOX_ENV=flake8, TOX_ENV=flake8, and TOX_ENV=文本整合試驗 ✔ |
3 |
|
|
4 |
|
|
5 |
class 外部程式: |
10 all except TOX_ENV=文本整合試驗, TOX_ENV=flake8, TOX_ENV=flake8, and TOX_ENV=文本整合試驗 ✔ |
6 |
@classmethod
|
10 all except TOX_ENV=文本整合試驗, TOX_ENV=flake8, TOX_ENV=flake8, and TOX_ENV=文本整合試驗 ✔ |
7 |
def 目錄(cls): |
|
8 |
程式所在 = os.path.abspath(__file__) |
10 all except TOX_ENV=文本整合試驗, TOX_ENV=flake8, TOX_ENV=flake8, and TOX_ENV=文本整合試驗 ✔ |
9 |
while os.path.basename(程式所在) != '臺灣言語工具': |
10 all except TOX_ENV=文本整合試驗, TOX_ENV=flake8, TOX_ENV=flake8, and TOX_ENV=文本整合試驗 ✔ |
10 |
程式所在 = os.path.dirname(程式所在) |
10 all except TOX_ENV=文本整合試驗, TOX_ENV=flake8, TOX_ENV=flake8, and TOX_ENV=文本整合試驗 ✔ |
11 |
程式所在 = os.path.dirname(程式所在) |
10 all except TOX_ENV=文本整合試驗, TOX_ENV=flake8, TOX_ENV=flake8, and TOX_ENV=文本整合試驗 ✔ |
12 |
return os.path.join(程式所在, '外部程式') |
10 all except TOX_ENV=文本整合試驗, TOX_ENV=flake8, TOX_ENV=flake8, and TOX_ENV=文本整合試驗 ✔ |