Branch: refs/heads/master Home: https://github.com/uzh/gc3pie Commit: 459d3e2004e66bd255c917cf80f14071f7823a9b https://github.com/uzh/gc3pie/commit/459d3e2004e66bd255c917cf80f14071f7823a9b Author: Riccardo Murri <riccardo.mu...@gmail.com> Date: 2018-08-29 (Wed, 29 Aug 2018)
Changed paths: M gc3libs/testing/helpers.py M gc3libs/tests/test_core.py M gc3libs/tests/test_engine.py Log Message: ----------- New helper context manager `test_resource(...)`. Should help writing tests where a single configured resource is wanted:: with test_resource(max_cores_per_job=7) as cfg: core = Core(cfg) # ... do something The parameters of the test resource are willingly set to some unlikely value; tests of `Core` and `Engine` need to be updated after these new settings. Commit: 2aae792e8fe068650d5cca55b353745e2ec6f748 https://github.com/uzh/gc3pie/commit/2aae792e8fe068650d5cca55b353745e2ec6f748 Author: Riccardo Murri <riccardo.mu...@gmail.com> Date: 2018-08-29 (Wed, 29 Aug 2018) Changed paths: M gc3libs/backends/tests/test_shellcmd.py M gc3libs/tests/test_config.py Log Message: ----------- Shorten `test_shellcmd_backend_create_spooldir()` by using helper functions. Compare: https://github.com/uzh/gc3pie/compare/d607bcceea46...2aae792e8fe0 **NOTE:** This service has been marked for deprecation: https://developer.github.com/changes/2018-04-25-github-services-deprecation/ Functionality will be removed from GitHub.com on January 31st, 2019. -- You received this message because you are subscribed to the Google Groups "gc3pie-dev" group. To unsubscribe from this group and stop receiving emails from it, send an email to gc3pie-dev+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/gc3pie-dev/5b86af1523b8a_71562ab425a60ec498797%40hookshot-fe-b0febf1.cp1-iad.github.net.mail. For more options, visit https://groups.google.com/d/optout.