1. 21 May, 2021 1 commit
  2. 17 Apr, 2020 1 commit
  3. 28 Mar, 2020 1 commit
  4. 01 Mar, 2020 1 commit
  5. 14 Oct, 2019 1 commit
  6. 27 Sep, 2019 1 commit
  7. 20 Aug, 2019 1 commit
    • Matias Guijarro's avatar
      Global map (#847) + fix #727, fix #716, issue #615 + aliases refactoring · a1a20fe3
      Matias Guijarro authored and Sebastien Petitdemange's avatar Sebastien Petitdemange committed
      In order to make it nicer for users, the global objects are initialized
      in bliss/__init__.py ; leaking module-level globals from imports are
      made 'private' with '_' (do not show)
      The logging_startup function is moved from logtools to __init__.py as
      well.
      
      Aliases refactoring:
      * removed AliasMixin class
      * removed 'alias_or_fullname, alias_or_name properties
          - code explicitely ask for name, fullname or alias instead
      * only objects found in env dict can be aliased, or counters
          - the CounterWrapper object is a proxy that evaluates to the corresponding
            counter at runtime, in order to make sure the alias is always in sync
            with the counter. The proxy code is a modified version of the proxy
            from the 'wrapt' project, from 'lazy-object-proxy' (PyPI)
      * added set() and remove()
      a1a20fe3
  8. 20 Jun, 2019 3 commits
  9. 19 Jun, 2019 1 commit
  10. 07 Jun, 2019 1 commit
  11. 15 May, 2019 1 commit
  12. 23 Apr, 2019 1 commit
  13. 11 Apr, 2019 5 commits
  14. 08 Feb, 2019 9 commits
  15. 12 Oct, 2018 1 commit
  16. 10 Oct, 2018 1 commit
  17. 21 Aug, 2018 1 commit
  18. 20 Aug, 2018 2 commits
  19. 13 Aug, 2018 1 commit
    • Matias Guijarro's avatar
      tests: moved 'addoption' code to the main conftest.py to work around a weird pytest error · 434ef421
      Matias Guijarro authored
      Error stack trace is pasted below:
      
      collecting ... INTERNALERROR> Traceback (most recent call last):
      INTERNALERROR>   File "/miniconda/envs/testenv/lib/python2.7/site-packages/_pytest/main.py", line 178, in wrap_session
      INTERNALERROR>     session.exitstatus = doit(config, session) or 0
      INTERNALERROR>   File "/miniconda/envs/testenv/lib/python2.7/site-packages/_pytest/main.py", line 214, in _main
      INTERNALERROR>     config.hook.pytest_collection(session=session)
      INTERNALERROR>   File "/miniconda/envs/testenv/lib/python2.7/site-packages/pluggy/hooks.py", line 258, in __call__
      INTERNALERROR>     return self._hookexec(self, self._nonwrappers + self._wrappers, kwargs)
      INTERNALERROR>   File "/miniconda/envs/testenv/lib/python2.7/site-packages/pluggy/manager.py", line 67, in _hookexec
      INTERNALERROR>     return self._inner_hookexec(hook, methods, kwargs)
      INTERNALERROR>   File "/miniconda/envs/testenv/lib/python2.7/site-packages/pluggy/manager.py", line 61, in <lambda>
      INTERNALERROR>     firstresult=hook.spec_opts.get('firstresult'),
      INTERNALERROR>   File "/miniconda/envs/testenv/lib/python2.7/site-packages/pluggy/callers.py", line 201, in _multicall
      INTERNALERROR>     return outcome.get_result()
      INTERNALERROR>   File "/miniconda/envs/testenv/lib/python2.7/site-packages/pluggy/callers.py", line 77, in get_result
      INTERNALERROR>     _reraise(*ex)  # noqa
      INTERNALERROR>   File "/miniconda/envs/testenv/lib/python2.7/site-packages/pluggy/callers.py", line 180, in _multicall
      INTERNALERROR>     res = hook_impl.function(*args)
      INTERNALERROR>   File "/miniconda/envs/testenv/lib/python2.7/site-packages/_pytest/main.py", line 224, in pytest_collection
      INTERNALERROR>     return session.perform_collect()
      INTERNALERROR>   File "/miniconda/envs/testenv/lib/python2.7/site-packages/_pytest/main.py", line 431, in perform_collect
      INTERNALERROR>     session=self, config=self.config, items=items
      INTERNALERROR>   File "/miniconda/envs/testenv/lib/python2.7/site-packages/pluggy/hooks.py", line 258, in __call__
      INTERNALERROR>     return self._hookexec(self, self._nonwrappers + self._wrappers, kwargs)
      INTERNALERROR>   File "/miniconda/envs/testenv/lib/python2.7/site-packages/pluggy/manager.py", line 67, in _hookexec
      INTERNALERROR>     return self._inner_hookexec(hook, methods, kwargs)
      INTERNALERROR>   File "/miniconda/envs/testenv/lib/python2.7/site-packages/pluggy/manager.py", line 61, in <lambda>
      INTERNALERROR>     firstresult=hook.spec_opts.get('firstresult'),
      INTERNALERROR>   File "/miniconda/envs/testenv/lib/python2.7/site-packages/pluggy/callers.py", line 201, in _multicall
      INTERNALERROR>     return outcome.get_result()
      INTERNALERROR>   File "/miniconda/envs/testenv/lib/python2.7/site-packages/pluggy/callers.py", line 77, in get_result
      INTERNALERROR>     _reraise(*ex)  # noqa
      INTERNALERROR>   File "/miniconda/envs/testenv/lib/python2.7/site-packages/pluggy/callers.py", line 180, in _multicall
      INTERNALERROR>     res = hook_impl.function(*args)
      INTERNALERROR>   File "/builds/bliss/bliss/tests/controllers_hw/conftest.py", line 16, in pytest_collection_modifyitems
      INTERNALERROR>     if config.getoption('--pepu') is None:
      INTERNALERROR>   File "/miniconda/envs/testenv/lib/python2.7/site-packages/_pytest/config/__init__.py", line 896, in getoption
      INTERNALERROR>     raise ValueError("no option named %r" % (name,))
      INTERNALERROR> ValueError: no option named 'pepu'
      434ef421
  20. 30 May, 2018 1 commit
  21. 02 Mar, 2018 5 commits