Skip to content

Commit ac6ea41

Browse files
committed
Merge pull request #6 from ambitioninc/develop
Updated tests to verify package installation
2 parents 7c090d5 + eac24f3 commit ac6ea41

File tree

3 files changed

+3
-4
lines changed

3 files changed

+3
-4
lines changed

.travis.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@ python:
44
env:
55
- DJANGO=1.6.1 DB=postgres
66
install:
7+
- python setup.py install
78
- pip install -q Django==$DJANGO
89
- pip install -r requirements.txt
910
before_script:

README.md

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -52,17 +52,15 @@ In order to change the duration of a lock, set the DB_MUTEX_TTL_SECONDS variable
5252
Django DB Mutex can be used with celery's tasks in the following manner.
5353

5454
from celery import Task
55-
from abc import ABCMeta, abstractmethod
5655

5756
class NonOverlappingTask(Task):
5857
__metaclass__ = ABCMeta
5958

60-
@abstractmethod
6159
def run_worker(self, *args, **kwargs):
6260
"""
6361
Run worker code here.
6462
"""
65-
pass
63+
raise NotImplementedError()
6664

6765
def run(self, *args, **kwargs):
6866
try:

db_mutex/VERSION

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
0.1
1+
0.1.2

0 commit comments

Comments
 (0)