Skip to content

Commit 781c962

Browse files
committed
bump 0.7.4 --> 0.7.5
* update changelog * add test stub for django elastic migrations log #35 open multiprocessing log in context handler
1 parent 3d4f449 commit 781c962

File tree

3 files changed

+21
-2
lines changed

3 files changed

+21
-2
lines changed

CHANGELOG.rst

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,15 @@
11
Changelog
22
---------
33

4+
0.7.5 (2018-08-20)
5+
~~~~~~~~~~~~~~~~~~
6+
* fix `#35 open multiprocessing log in context handler
7+
<https://github.com/HBS-HBX/django-elastic-migrations/issues/35>`_
8+
49
0.7.4 (2018-08-15)
510
~~~~~~~~~~~~~~~~~~
6-
* fix #33 error when nothing to resume using --resume
11+
* fix `#33 error when nothing to resume using --resume
12+
<https://github.com/HBS-HBX/django-elastic-migrations/issues/33>`_
713

814
0.7.3 (2018-08-14)
915
~~~~~~~~~~~~~~~~~~

django_elastic_migrations/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
from django_elastic_migrations.utils import loading
1111
from django_elastic_migrations.utils.django_elastic_migrations_log import get_logger
1212

13-
__version__ = '0.7.4'
13+
__version__ = '0.7.5'
1414

1515
default_app_config = 'django_elastic_migrations.apps.DjangoElasticMigrationsConfig' # pylint: disable=invalid-name
1616

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
from django.test import TestCase
2+
3+
from django_elastic_migrations.utils import django_elastic_migrations_log
4+
5+
6+
class TestDEMLog(TestCase):
7+
8+
def test_mp_logging_setup(self):
9+
self.assertFalse(django_elastic_migrations_log.mp_logging_enabled)
10+
11+
django_elastic_migrations_log.start_multiprocessing_logging()
12+
13+
self.assertTrue(django_elastic_migrations_log.mp_logging_enabled)

0 commit comments

Comments
 (0)