Skip to content

Commit

Permalink
Merge pull request #20 from julen/cleanup/minor
Browse files Browse the repository at this point in the history
Minor cleanups
  • Loading branch information
Sébastien Fievet committed Aug 2, 2016
2 parents 87f70fa + 1d49ec4 commit c5ee937
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ Installation
You can modify the output path and more options by tweaking
``django-statici18n`` settings.

**(Optionnal)**
**(Optional)**

The following step assumes you're using `django.contrib.staticfiles`_.

Expand All @@ -100,4 +100,4 @@ The following step assumes you're using `django.contrib.staticfiles`_.
.. _translated: https://docs.djangoproject.com/en/1.6/topics/i18n/translation/#message-files
.. _compiled: https://docs.djangoproject.com/en/1.6/topics/i18n/translation/#compiling-message-files
.. _dynamically generated script: https://docs.djangoproject.com/en/1.6/topics/i18n/translation/#using-the-javascript-translation-catalog
.. _django.contrib.staticfiles: https://docs.djangoproject.com/en/1.6/ref/contrib/staticfiles/
.. _django.contrib.staticfiles: https://docs.djangoproject.com/en/1.6/ref/contrib/staticfiles/
6 changes: 3 additions & 3 deletions tests/test_app.py
Original file line number Diff line number Diff line change
Expand Up @@ -41,13 +41,13 @@ def test_compile_all(settings):


@pytest.mark.usefixtures("cleandir")
def test_compile_locale_not_exists(settings):
def test_compile_locale_not_exists():
out = six.StringIO()
management.call_command('compilejsi18n', locale='ar', verbosity=1, stderr=out)
assert out.getvalue() == ""


def test_statici18n_templatetag(settings):
def test_statici18n_templatetag():
template = """
{% load statici18n %}
<script src="{% statici18n LANGUAGE_CODE %}"></script>
Expand All @@ -58,7 +58,7 @@ def test_statici18n_templatetag(settings):


@pytest.mark.usefixtures("cleandir")
def test_inlinei18n_templatetag(settings):
def test_inlinei18n_templatetag():
template = """
{% load statici18n %}
<script src="{% inlinei18n LANGUAGE_CODE %}"></script>
Expand Down

0 comments on commit c5ee937

Please sign in to comment.