testing if coverall will fail build
This commit is contained in:
parent
ed4068479c
commit
0967845a3d
|
@ -52,7 +52,7 @@ jobs:
|
||||||
flag-name: run-python-${{ matrix.python-version }}
|
flag-name: run-python-${{ matrix.python-version }}
|
||||||
parallel: true
|
parallel: true
|
||||||
|
|
||||||
finish:
|
report-coverage:
|
||||||
needs: test
|
needs: test
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
|
|
||||||
|
|
|
@ -373,7 +373,7 @@ This code uses an undocumented part of the YouTube API, which is called by the Y
|
||||||
|
|
||||||
To setup the project locally run (requires [poetry](https://python-poetry.org/docs/) to be installed):
|
To setup the project locally run (requires [poetry](https://python-poetry.org/docs/) to be installed):
|
||||||
```shell
|
```shell
|
||||||
poetry install
|
poetry install --with test,dev
|
||||||
```
|
```
|
||||||
|
|
||||||
There's [poe](https://github.com/nat-n/poethepoet?tab=readme-ov-file#quick-start) tasks to run tests, coverage, the linter and formatter (you'll need to pass all of those for the build to pass):
|
There's [poe](https://github.com/nat-n/poethepoet?tab=readme-ov-file#quick-start) tasks to run tests, coverage, the linter and formatter (you'll need to pass all of those for the build to pass):
|
||||||
|
|
|
@ -406,8 +406,8 @@ class TestYouTubeTranscriptApi(TestCase):
|
||||||
with self.assertRaises(CookiePathInvalid):
|
with self.assertRaises(CookiePathInvalid):
|
||||||
YouTubeTranscriptApi._load_cookies(bad_cookies, "GJLlxj_dtq8")
|
YouTubeTranscriptApi._load_cookies(bad_cookies, "GJLlxj_dtq8")
|
||||||
|
|
||||||
def test_load_cookies__no_valid_cookies(self):
|
# def test_load_cookies__no_valid_cookies(self):
|
||||||
dirname, filename = os.path.split(os.path.abspath(__file__))
|
# dirname, filename = os.path.split(os.path.abspath(__file__))
|
||||||
expired_cookies = dirname + "/expired_example_cookies.txt"
|
# expired_cookies = dirname + "/expired_example_cookies.txt"
|
||||||
with self.assertRaises(CookiesInvalid):
|
# with self.assertRaises(CookiesInvalid):
|
||||||
YouTubeTranscriptApi._load_cookies(expired_cookies, "GJLlxj_dtq8")
|
# YouTubeTranscriptApi._load_cookies(expired_cookies, "GJLlxj_dtq8")
|
||||||
|
|
Loading…
Reference in New Issue