diff options
author | Jason Myers <jason@jasonamyers.com> | 2013-11-02 16:34:05 -0500 |
---|---|---|
committer | Jason Myers <jason@jasonamyers.com> | 2013-11-02 23:48:47 -0500 |
commit | c3791463a5a9674f8e0148fbab57eae23c138896 (patch) | |
tree | 6606acdb74132a344a49e910dec5d0356389a569 /tests/signals | |
parent | 2a03a9a9a1c4517be75e72899e545b0bc9dd0688 (diff) | |
download | django-c3791463a5a9674f8e0148fbab57eae23c138896.tar.gz |
Fixing E302 Errors
Signed-off-by: Jason Myers <jason@jasonamyers.com>
Diffstat (limited to 'tests/signals')
-rw-r--r-- | tests/signals/models.py | 1 | ||||
-rw-r--r-- | tests/signals/tests.py | 2 |
2 files changed, 3 insertions, 0 deletions
diff --git a/tests/signals/models.py b/tests/signals/models.py index e54a22fce9..765230a44e 100644 --- a/tests/signals/models.py +++ b/tests/signals/models.py @@ -15,6 +15,7 @@ class Person(models.Model): def __str__(self): return "%s %s" % (self.first_name, self.last_name) + @python_2_unicode_compatible class Car(models.Model): make = models.CharField(max_length=20) diff --git a/tests/signals/tests.py b/tests/signals/tests.py index b7ee222c94..1eb2ffb4a3 100644 --- a/tests/signals/tests.py +++ b/tests/signals/tests.py @@ -18,6 +18,7 @@ class PostDeleteHandler(object): (instance, instance.id is None) ) + class MyReceiver(object): def __init__(self, param): self.param = param @@ -27,6 +28,7 @@ class MyReceiver(object): self._run = True signal.disconnect(receiver=self, sender=sender) + class SignalTests(TestCase): def test_basic(self): # Save up the number of connected signals so that we can check at the |