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

ICRAR / ngas / 630
70%
master: 69%

Build:
Build:
LAST BUILD BRANCH: config_use_prepared_stmts_for_clients
DEFAULT BRANCH: master
Ran 31 May 2022 03:10AM UTC
Jobs 7
Files 165
Run time 2min
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
630

push

travis-ci-com

Rodrigo Tobar
Use base64.b64{encode,decode} for python 3 support

The old {encode,decode}string functions were marked as deprecated in
python 3.1, and removed in python 3.9. We should use the corresponding
b64{encode,decode} functions instead, which are present in all relevant
python versions we support.

Note that in python 3 the b64{encode,decode} functions require bytes as
inputs, and output bytes (in python 3); we thus must take care of
encoding the arguments and decoding the outputs, while maintaining
python 2 compatibility.

Another small difference is that encodestring() returned a string that
always finished with a newline, which decodestring() handled correctly;
this is not the case with the b64{encode,decode} pair: b64encode()
doesn't append a newline, and b64decode() fails when a newline is
present at the end of its input. This won't have a noticeable effect
though: the encrypt_access_code function that issued the call to
encodestring() is never invoked anyway, and the strings given to
decrypt_access_code is always stripped (i.e., it won't contain
newlines).

This was originally reported in #89.

13679 of 19660 relevant lines covered (69.58%)

4.85 hits per line

Jobs
ID Job ID Ran Files Coverage
1 630.1 (DB=sqlite3) 31 May 2022 03:11AM UTC 0
69.19
Travis Job 630.1
2 630.2 (DB=mysql) 31 May 2022 03:13AM UTC 0
68.94
Travis Job 630.2
3 630.3 (DB=postgresql PGPORT=5433 PGUSER=travis) 31 May 2022 03:11AM UTC 0
68.98
Travis Job 630.3
4 630.4 31 May 2022 03:10AM UTC 0
69.3
Travis Job 630.4
5 630.5 31 May 2022 03:11AM UTC 0
69.3
Travis Job 630.5
6 630.6 31 May 2022 03:10AM UTC 0
69.43
Travis Job 630.6
7 630.7 31 May 2022 03:10AM UTC 0
69.38
Travis Job 630.7
Source Files on build 630
Detailed source file information is not available for this build.
  • Back to Repo
  • Build #630
  • e1f7d70a on github
  • Prev Build on uwe-fixes (#627)
  • Next Build on uwe-fixes (#632)
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