Skip to content
Permalink

Comparing changes

This is a direct comparison between two commits made in this repository or its related repositories. View the default comparison for this range or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: onaio/onadata
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: 3c79a16f6ff38720f3cfafe6f264337335f906b0
Choose a base ref
..
head repository: onaio/onadata
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: 863f4e8d2cc16ef1285cbbc935ec5c9aa6d5d773
Choose a head ref
Showing with 4 additions and 2 deletions.
  1. +4 −2 onadata/libs/tests/utils/test_async_status.py
6 changes: 4 additions & 2 deletions onadata/libs/tests/utils/test_async_status.py
Original file line number Diff line number Diff line change
@@ -1,12 +1,14 @@
"""
tests for celery asyncronous task utilities
"""
from unittest.mock import MagicMock

from onadata.apps.main.tests.test_base import TestBase
from celery import states
from onadata.apps.main.tests.test_base import TestBase
from onadata.celeryapp import app
from onadata.libs.utils import async_status
from onadata.apps.logger.models.xform import XForm


class TestAsyncStatus(TestBase):

def test_celery_state_to_status(self):