{"id":13857075,"url":"https://github.com/bstiel/python-celery-testing-chains","last_synced_at":"2026-01-16T11:28:39.433Z","repository":{"id":169319273,"uuid":"138853803","full_name":"bstiel/python-celery-testing-chains","owner":"bstiel","description":"https://www.distributedpython.com/2018/05/15/testing-celery-chains/","archived":false,"fork":false,"pushed_at":"2018-06-27T10:56:22.000Z","size":4,"stargazers_count":3,"open_issues_count":0,"forks_count":0,"subscribers_count":4,"default_branch":"master","last_synced_at":"2024-05-19T23:35:48.584Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"https://www.distributedpython.com/2018/05/15/testing-celery-chains/","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/bstiel.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null}},"created_at":"2018-06-27T08:40:39.000Z","updated_at":"2023-01-03T13:57:09.000Z","dependencies_parsed_at":"2024-02-09T01:22:15.486Z","dependency_job_id":"c0d27eae-db2a-49ef-b5a3-b642d261a54a","html_url":"https://github.com/bstiel/python-celery-testing-chains","commit_stats":null,"previous_names":["bstiel/python-celery-testing-chains"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bstiel%2Fpython-celery-testing-chains","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bstiel%2Fpython-celery-testing-chains/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bstiel%2Fpython-celery-testing-chains/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bstiel%2Fpython-celery-testing-chains/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/bstiel","download_url":"https://codeload.github.com/bstiel/python-celery-testing-chains/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":213988315,"owners_count":15666961,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-08-05T03:01:25.062Z","updated_at":"2026-01-16T11:28:39.404Z","avatar_url":"https://github.com/bstiel.png","language":"Python","funding_links":[],"categories":["Python"],"sub_categories":[],"readme":"# Unit Testing Celery Tasks\n\nThis projects contains the source code examples accompanying the blog post: https://python-celery.com/2018/05/15/testing-celery-chains/.\n\nDocker use is highly recommended.\n\n## With docker\n\n1. Bring up the docker stack:\n```docker-compose up -d```\n\n2. Run unit tests:\n```docker-compose exec app pyton -m unittest discover -vv```\n\n\n## Without docker\n\n1. Install and start [RabbitMQ](https://www.rabbitmq.com):\nEnsure RabbitMQ runs on port 5672 and the user `user` with password `password` is set up\n\n2. Create virtual environment:\n```virtualenv celery-unit-test```\n\n3. Activate virtual environment:\n```source activate celery-unit-test```\n\n4. Install pip packages:\n```pip install -r requirements.txt```\n\n5. Run unit tests:\n```RABBITMQ_DEFAULT_USER=user CELERY_BROKER_URL=amqp://user:password@localhost:5672 python -m unittest discover -vv```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbstiel%2Fpython-celery-testing-chains","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbstiel%2Fpython-celery-testing-chains","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbstiel%2Fpython-celery-testing-chains/lists"}