• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

RaRe-Technologies / smart_open / 1822 / 5
95%
develop: 95%

Build:
DEFAULT BRANCH: develop
Ran 04 Sep 2020 12:42PM UTC
Files 37
Run time 6s
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

04 Sep 2020 12:38PM UTC coverage: 94.822%. Remained the same
BOTO_CONFIG=/dev/null TOXENV=check_keys,py38-doctest,test_coverage,py38-integration

push

travis-ci

web-flow
Cleaning up after S3 integration tests (#530)

* jumped from full path SO_S3_URL to two components: bucket name - S3_BUCKET_NAME and path to test - SO_KEY

* Added generation of the original key when starting the test;
Added a function to clear the test environment after passing the test.

* SO_KEY made internal

* A decorator for tests has been created, which provides the same type of initialization and cleaning of the test environment.
The tests were modified accordingly.

* Fixed bug when clearing test environment.
Removed constant _S3_URL.

* Removed useless comment.

* Fixed bug when clearing test environment.

* Update comment.
Removed extra return variable in contextmanager.

* Update integration-tests/test_s3.py

* PEP8 formatting.

* PEP8 formatting.

* PEP8 formatting: Variable in function should be lowercase.

* Refactor case_test to _test_case.

* Update integration-tests/test_s3.py

Co-authored-by: Michael Penkov <m@penkov.dev>

* Update integration-tests/test_s3.py

Co-authored-by: Michael Penkov <m@penkov.dev>

* Refactor key/url to uri.

* finishing touches

- use boto3 to clean up
- use shorter random string (uuid is too long)
- user newer API (smart_open.open instead of smart_open.smart_open)
- update documentation
- cosmetic tweaks

Co-authored-by: interpolatio <interpolatio@gmail.com>
Co-authored-by: Michael Penkov <m@penkov.dev>
Co-authored-by: Michael Penkov <misha.penkov@gmail.com>

5420 of 5716 relevant lines covered (94.82%)

0.95 hits per line

Source Files on job 1822.5 (BOTO_CONFIG=/dev/null TOXENV=check_keys,py38-doctest,test_coverage,py38-integration)
  • Tree
  • List 0
  • Changed 0
  • Source Changed 0
  • Coverage Changed 0
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 189
  • Travis Job 1822.5
  • ad835ddf on github
  • Prev Job for BOTO_CONFIG=/dev/null TOXENV=check_keys,py38-doctest,test_coverage,py38-integration on develop (#1820.5)
  • Next Job for BOTO_CONFIG=/dev/null TOXENV=check_keys,py38-doctest,test_coverage,py38-integration on develop (#1825.7)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc