test_register.py 231 B

1234567891011
  1. from datalad.tests.utils_pytest import assert_result_count
  2. def test_register():
  3. import datalad.api as da
  4. assert hasattr(da, 'hello_cmd')
  5. assert_result_count(
  6. da.hello_cmd(),
  7. 1,
  8. action='demo')