File tree Expand file tree Collapse file tree 3 files changed +21
-2
lines changed
django_elastic_migrations Expand file tree Collapse file tree 3 files changed +21
-2
lines changed Original file line number Diff line number Diff line change 1
1
Changelog
2
2
---------
3
3
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
+
4
9
0.7.4 (2018-08-15)
5
10
~~~~~~~~~~~~~~~~~~
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> `_
7
13
8
14
0.7.3 (2018-08-14)
9
15
~~~~~~~~~~~~~~~~~~
Original file line number Diff line number Diff line change 10
10
from django_elastic_migrations .utils import loading
11
11
from django_elastic_migrations .utils .django_elastic_migrations_log import get_logger
12
12
13
- __version__ = '0.7.4 '
13
+ __version__ = '0.7.5 '
14
14
15
15
default_app_config = 'django_elastic_migrations.apps.DjangoElasticMigrationsConfig' # pylint: disable=invalid-name
16
16
Original file line number Diff line number Diff line change
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 )
You can’t perform that action at this time.
0 commit comments