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

aiidateam / aiida_core / 4260
74%

Build:
DEFAULT BRANCH: develop
Ran 26 Oct 2018 04:55PM UTC
Jobs 3
Files 542
Run time 6min
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
4260

push

travis-ci

giovannipizzi
Python3 support for restapi (#2117)

* select working pycifrw in setup requirements

select working version of PycCifRW for python2 and python3

* Explicitly setting the mode for tempfile.NamedTemporaryFile() calls to write text instead of bytes.

* rename _exportstring => _exportcontent

_exportstring should return bytes.
to reflect this, we are renaming it and updating its docstring

* fix 3 errors in db.cmdline.commands.data

errors were only converted to test failures
(the interactive part of the test is failing now)

* Using both Python 2 and Python 3 proof method to merge two dictionaries.

* fix regular exprs in cif_encode_contents

still to do: fix base64 conversion

* Decoding bytes to UTF-8 in one of CifData test cases.

* No need to encode the output of export_cif() as it is in bytes already.

* Change strings to bytes for python3 compatibility

Functions affected:
1) test_contents_encoding_1()
2) cif_encode_contents
3) encode_textfield_quoted_printable

* remove unnecessary imports

* Ceasing encode the output of export_cif() as it is in bytes already.

* fix test_collect_files test

* Explicitly marking strings as Unicode in Tcodexporter test case to make them runnable both on Python 2 and Python 3.

* fixes to make restapi compatible with python3

* enabled rest api tests

* updated rest api tests

* removed unused import

* updated pre-commit

* Updated files to run prospector for restapi data translators

* Added calculation translator file in pre-commit hook

* Added code, computer, group and user rest translators for prospectors

* Added more files from rest api for prospector

* files updated by yapf

* Updated and included all rest api translator files in pre-commit

* Added all rest api files for pre-commit

* added rest api tests file to process in pre-commit

* docs fix

* small fix

* Fixed merge of aiida/backends/tests/tcodexporter.py

* Fixed some prospe... (continued)

14340 of 24192 relevant lines covered (59.28%)

3.79 hits per line

Jobs
ID Job ID Ran Files Coverage
5 4260.5 (TEST_AIIDA_BACKEND=django TEST_TYPE="tests") 26 Oct 2018 04:55PM UTC 0
60.85
Travis Job 4260.5
6 4260.6 (TEST_AIIDA_BACKEND=django TEST_TYPE="tests") 26 Oct 2018 04:55PM UTC 0
60.83
Travis Job 4260.6
8 4260.8 (TEST_AIIDA_BACKEND=sqlalchemy TEST_TYPE="tests") 26 Oct 2018 05:00PM UTC 0
59.75
Travis Job 4260.8
Source Files on build 4260
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #4260
  • d8fca45a on github
  • Prev Build on develop (#4255)
  • Next Build on develop (#4263)
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

© 2025 Coveralls, Inc