Commit Graph

42 Commits

Author SHA1 Message Date
Felix Lohmeier a368147bdf adjust tests for OpenRefine 4.x 2021-07-12 22:51:48 +02:00
Felix Lohmeier f66c88ee35 adjust tests for OpenRefine 3.5 2021-07-12 22:46:54 +02:00
Felix Lohmeier 65b0500d5e fix test create-json-trimStrings 2021-01-04 14:19:51 +01:00
Felix Lohmeier 9eeebce47c improve functional tests for delete command 2021-01-04 13:44:03 +01:00
Felix Lohmeier 82da3f7b4e add functional tests
all CLI options
replaces manual tests with jupyter notebook
2021-01-02 17:02:39 +01:00
Felix Lohmeier d22022e273 tests with jupyter notebooks 2019-08-22 01:43:52 +02:00
Felix Lohmeier 33430d5fe2 emoji in column name is really evil 2019-08-21 19:25:38 +02:00
Felix Lohmeier 4ed6925b25 add example data with unicode chars 2019-08-21 16:49:39 +02:00
Felix Lohmeier cb797fac51 move file back to prior location because it is referenced 2019-08-20 13:37:49 +02:00
Felix Lohmeier 375ac42be0 realigned create/new_project to upstream
new feature: xml root element will be discovered if recordPath is not set
bugfix: newly introduced option projectTags was not working in 0.3.7
bugfix: txt defaulted to fixed-width (should be line-based)
bugfix: default recordPath for json was not working in 0.3.7
bugfix: default sheets option was broken (but xls, xlsx, ods is broken in OpenRefine >=2.8 anyway, see #4)
tests: added sample files and an ipython notebook for comprehensive tests of create option
2019-08-20 04:30:50 +02:00
Felix Lohmeier d9efd5c61b realign test to upstream (fix typo) 2019-08-16 11:39:03 +02:00
Felix Lohmeier e18b4d04be add json history file for test tutorial duplicates.csv 2019-08-14 13:46:44 +02:00
Felix Lohmeier aa5b3a4203 realign to upstream 2019-08-14 13:45:35 +02:00
Felix Lohmeier d82c7b28fb Revert "refactor to allow module execution"
This reverts commit a0123e9511.
2019-08-03 13:23:32 +02:00
Felix Lohmeier a0123e9511 refactor to allow module execution 2019-08-01 17:23:40 +02:00
Felix Lohmeier ed9e1e2afb update options to CamelCase 2017-11-20 04:55:51 +01:00
Felix Lohmeier 2061e804c3 OpenRefine 2.7/2.8 compatibility 2017-11-19 23:28:51 +01:00
Paul Makepeace 1a4f00b3cd Explicitly insist on guessing cell value types (change in 2.6). 2013-10-14 00:30:24 +06:00
Paul Makepeace 717a03a838 For OR 2.5 just rename the default column back to 'Column' (from 'Column 1') 2013-10-13 00:52:49 +06:00
Paul Makepeace b92aa0efd1 Use project_format instead of split-into-columns:false 2013-10-13 00:02:33 +06:00
Paul Makepeace 1a5f7c482d Default column name in OR 2.5 is "Column 1" 2013-10-13 00:01:58 +06:00
Paul Makepeace bbd4d84c96 Google Refine -> OpenRefine 2013-10-10 16:41:10 +05:00
Paul Makepeace eade7dafe0 Use full path to test data 2013-10-10 15:40:23 +05:00
Paul Makepeace bc0a8e7c7b Whitespace & minor renaming to bring in line with PEP8 guidelines 2013-10-09 23:16:43 +05:00
Paul Makepeace 8e07662e65 Remove incomplete reconciliation response parsing. It's not exposed in the API yet and changed from Refine 2.0 to 2.1 2011-07-21 17:03:17 +00:00
Paul Makepeace 2b8456ba34 Read whole file for completeness. Include an example of how to use csv.reader to parse the incoming export 2011-07-20 15:31:47 +00:00
Paul Makepeace e6a2810433 Special case test of :80 to match the client's own figuring 2011-07-20 15:30:57 +00:00
Paul Makepeace bd43d001c4 Clean up interface to passing multiple facets into Engine() 2011-06-23 09:49:25 +00:00
Paul Makepeace 5e544bb827 Move get_version() to RefineServer & add RefineServer.version lazy property 2011-06-10 17:49:06 +00:00
Paul Makepeace bd44e16b07 Remove unused import & trailing whitespace 2011-06-10 17:47:46 +00:00
Paul Makepeace 8e2f44412f Re-enable test_get_models & add test for RefineProject.columns and .wait_until_idle() 2011-06-10 13:06:41 +00:00
Paul Makepeace 316b60b387 Add RefineServer.url() staticmethod to report the Refine server's url 2011-06-10 12:53:46 +00:00
Paul Makepeace 294f3f2690 Remove unused import & whitespace 2011-06-10 12:43:48 +00:00
Paul Makepeace bbb1a374f3 Save & restore REFINE_{HOST,PORT} to allow use of env vars 2011-06-10 12:43:16 +00:00
Paul Makepeace 840cf71a29 Remove unused import 2011-06-09 10:49:58 +00:00
Paul Makepeace 36beb59d15 Ensure default values for REFINE_{HOST,PORT} 2011-05-27 01:55:58 +01:00
Paul Makepeace 83f2649221 Allow REFINE_{HOST,PORT} to be set in code. 2011-05-27 00:45:10 +01:00
Paul Makepeace 45a80902ef Allow RefineProject to take just a project id as a convenience. 2011-05-27 00:36:43 +01:00
Paul Makepeace f863045f01 Fix swapped args in do_raw. Add project_url(). Test fix & RefineProject.export() 2011-04-28 18:00:04 +00:00
Paul Makepeace e9bc0a2a5a Factor out project_path to tidy 2011-04-28 17:57:53 +00:00
Paul Makepeace 461befef21 mv google/test to tests/ and make it a package 2011-04-28 15:47:10 +00:00
Paul Makepeace fc69ff7e3c Restore mocked get_models so subsequent tests in the same session work 2011-04-28 15:15:10 +00:00