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

RaRe-Technologies / smart_open / 1822
95%

Build:
DEFAULT BRANCH: develop
Ran 04 Sep 2020 12:42PM UTC
Jobs 1
Files 37
Run time 7s
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

pending completion
1822

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

Jobs
ID Job ID Ran Files Coverage
5 1822.5 (BOTO_CONFIG=/dev/null TOXENV=check_keys,py38-doctest,test_coverage,py38-integration) 04 Sep 2020 12:42PM UTC 0
94.82
Travis Job 1822.5
Source Files on build 1822
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #1822
  • ad835ddf on github
  • Prev Build on develop (#1820)
  • Next Build on develop (#1825)
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