Created
July 21, 2017 13:37
-
-
Save jtemporal/9f3a5c47386c3c52af6c47631d2baf92 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$ python -m unittest discover tests | |
.................F................Could not find config.ini file. | |
You need Amazon section in it to interact with S3 | |
(Check config.ini.example if you need a reference.) | |
.You need an Amazon section in config.ini to interact with S3 (Check config.ini.example if you need a reference.) | |
.Could not find config.ini file. | |
You need Amazon section in it to interact with S3 | |
(Check config.ini.example if you need a reference.) | |
.Could not find config.ini file. | |
You need Amazon section in it to interact with S3 | |
(Check config.ini.example if you need a reference.) | |
.....It looks like you have an old version of the config.ini file. We do not need anymore the service (s3) appended to the region (sa-east-1). Please update your config.ini replacing regions like `s3-sa-east-1` by `sa-east-1`. | |
.....While translating, Seranata Toolbox didn't find file: tests/fixtures/csv/federal-senate-2007.csv | |
File b'tests/fixtures/csv/federal-senate-2007.csv' does not exist | |
..We failed to reach the server | |
Error code None | |
While fetching, Seranata Toolbox didn't find file: /var/folders/dj/wl7_2hgs0652svdpc6gxvmq40000gn/T/federal-senate-2007.csv | |
HTTP Error None: None | |
.The server couldn't fulfill the request. | |
Reason: tests reason | |
While fetching, Seranata Toolbox didn't find file: /var/folders/dj/wl7_2hgs0652svdpc6gxvmq40000gn/T/federal-senate-2007.csv | |
<urlopen error tests reason> | |
..Loading unit/receipts.csv… | |
Dropping rows without document_value or reimbursement_number… | |
Grouping dataset by applicant_id, document_id and year… | |
Gathering all reimbursement numbers together… | |
Summing all net values together… | |
Summing all reimbursement values together… | |
Generating the new dataset… | |
. | |
====================================================================== | |
FAIL: test_find_config (unit.test_datasets_helpers.TestDatasetsHelpersConfigLookup) | |
---------------------------------------------------------------------- | |
Traceback (most recent call last): | |
File "/Users/temporal/src/dsbr/serenata/serenata-toolbox/tests/unit/test_datasets_helpers.py", line 108, in test_find_config | |
self.assertEqual(helpers.find_config(), self.config_file) | |
AssertionError: '/private/var/folders/dj/wl7_2hgs0652svdpc6[33 chars].ini' != '/var/folders/dj/wl7_2hgs0652svdpc6gxvmq400[25 chars].ini' | |
- /private/var/folders/dj/wl7_2hgs0652svdpc6gxvmq40000gn/T/tmposhuzm_2/config.ini | |
? -------- | |
+ /var/folders/dj/wl7_2hgs0652svdpc6gxvmq40000gn/T/tmposhuzm_2/config.ini | |
---------------------------------------------------------------------- | |
Ran 53 tests in 0.140s | |
FAILED (failures=1) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment