Commit Graph

31 Commits

Author SHA1 Message Date
7560412bc7 Merge branch 'develop' of github.com:python-bonobo/bonobo into develop 2017-10-21 12:56:06 +02:00
b87f674eb2 Test tweak to work for Windows CI. 2017-10-15 19:55:37 -04:00
cb7a18f20f Added more tests and moved all env and env file testing to classes (it might make more sense to just move them to separate files?). 2017-10-15 16:14:14 -04:00
dc34ab4a8b Moved env vars tests to class. 2017-10-15 15:49:14 -04:00
84e197b209 Updated .env >>> .env_one to include in repo (.env ignored). 2017-10-15 15:39:23 -04:00
92cc400fe7 [core] Refactoring IOFormats so there is one and only obvious way to send it.
This is the commit where I admit that having more than one input/output
format for readers and writers was complicating the code too much for a
very small gain, and that it would be easier to only have one way to do
it.

So such way is now:

- Returning (or yielding) a dict if you have key-value type collections.
- Returning (or yielding) a tuple if you have a list-type collection.
- Returning (or yielding) something else otherwise, which will continue
  to work like the old "arg0" format.

IOFORMAT options has been removed in favour of a RemovedOption, which
will complain if you're still trying to set it to anything else than the
one value allowed.
2017-10-15 21:37:22 +02:00
53f6cc055f Fixed bug involved in finding env when running module. 2017-10-11 21:49:39 -04:00
489d22cbcb Moved default-env-file tests to class. 2017-10-11 20:49:57 -04:00
1aada99596 Small adjustment to test parameters. 2017-10-10 22:56:58 -04:00
af15647ab4 Added tests for running file with combinations of multiple default env files, env files, and env vars. Also reorganized environment directory in examples. 2017-10-10 22:54:31 -04:00
88956ba6fe default-env-file, default-env, and env-file now in place alongside env. default-env-file and default-env both use os.environ.setdefault so as not to overwrite existing variables (system environment) while env-file and env will overwrite existing variables. All four allow for multiple values (***How might this affect multiple default-env and default-env-file values, I expect that unlike env-file and env the first passed variables would win). 2017-10-08 21:02:31 -04:00
b2f93b2416 [config/dx] bundle a default fs (and http?) service if none is provided (#179) 2017-10-05 07:17:16 +02:00
e04c3dd849 Uniformisation of API for graph and node contexts (recv -> write), removing publication of LoopbackBag as this is not stable with current BEGIN/END implementation. 2017-10-02 09:14:10 +02:00
6abdf09ef7 Moved tests/util/get_passed_env.py into /bonobo/examples/env_vars/get_passed_env.py. 2017-10-01 19:56:49 -04:00
7ca3369f71 Rename "bonobo graph" to "bonobo inspect". For now, graphviz is default but there will probably be a humand default in the future, with graphviz source generation set if --graph (or -g) flag is passed. 2017-09-30 11:01:53 +02:00
8b9dac50ec Added optional passing of one or multiple environment variables via --env flag to the bonobo cli. 2017-09-18 15:24:27 -04:00
d80118f687 [logging] Tuning windows vs unix display output. 2017-07-16 11:15:40 +02:00
5c64f30551 Merge remote-tracking branch 'upstream/develop' into develop 2017-07-16 10:19:45 +02:00
a8ed0e4322 Move patch one level up because importlib brakes all the CI tools. 2017-07-15 14:52:22 +02:00
7aee728b8d Add tests for --install of run command 2017-07-15 14:24:44 +02:00
75c15ae1f8 [tests] Adds runners descriptions. 2017-07-15 13:56:51 +02:00
665ddb560e Fix version test 2017-05-27 16:10:14 +02:00
1ba31191ee [qa] adds a rather stupid test to check valueholder works correctly. Still some operations missing. 2017-05-22 22:22:36 +02:00
04f2088220 [qa] add test for bonobo run <path>. 2017-05-22 20:48:16 +02:00
91c9322c58 [qa] tests bonobo run using module path. 2017-05-22 20:29:35 +02:00
1dccad883d [qa] covers __main__, and formating. 2017-05-22 20:06:26 +02:00
a50b21e46d [qa] covers __main__ 2017-05-22 19:57:08 +02:00
56f9c334f6 [qa] coverage of version command. 2017-05-22 19:25:35 +02:00
670f4e61d1 fixing codacy issues 2017-05-01 11:02:28 +02:00
b035bdea32 formating, better consistency in readers, ability to read files from http (fast and dirty). 2017-02-12 08:10:22 +01:00
9dab39a474 Minor fixes and update documentation. Preparing the upcoming 0.2 release. 2017-01-20 20:45:16 +01:00