{% set name = "pytest-celery" %}
{% set version = "0.0.0a1" %}


package:
  name: {{ name|lower }}
  version: {{ version }}

source:
  url: https://pypi.io/packages/source/{{ name[0] }}/{{ name }}/pytest-celery-{{ version }}.tar.gz
  sha256: 3e0e0817c2d3f2870dafebd915bf13100fc12920b5d42dfe5fdc35844fe42e62

build:
  number: 0
  noarch: python
  script: {{ PYTHON }} -m pip install . -vv

requirements:
  host:
    - pip
    - flit
    - python
  run:
    - python

test:
  imports:
    - pytest_celery

about:
  home: https://github.com/graingert/pytest-celery
  summary: pytest-celery a shim pytest plugin to enable celery.contrib.pytest
  license: BSD-3-Clause
  license_file: LICENSE

extra:
  recipe-maintainers:
    - igortg

{% set name = "pytest-celery" %}
{% set version = "0.0.0a1" %}


package:
  name: {{ name|lower }}
  version: {{ version }}

source:
  url: https://pypi.io/packages/source/{{ name[0] }}/{{ name }}/pytest-celery-{{ version }}.tar.gz
  sha256: 3e0e0817c2d3f2870dafebd915bf13100fc12920b5d42dfe5fdc35844fe42e62

build:
  number: 0
  noarch: python
  script: {{ PYTHON }} -m pip install . -vv

requirements:
  host:
    - pip
    - flit
    - python
  run:
    - celery >=4.4.0
    - pytest

test:
  imports:
    - pytest_celery
  commands:
    - pip check
    - "pytest --fixtures | grep 'plugins: celery'"
  requires:
    - pip
    
about:
  home: https://github.com/graingert/pytest-celery
  summary: pytest-celery a shim pytest plugin to enable celery.contrib.pytest
  license: BSD-3-Clause
  license_file: LICENSE

extra:
  recipe-maintainers:
    - igortg

Add test that checks if plugin is found by pytest
Add test that checks if plugin is found by pytest
