Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Loading…

bugfix issue 259 #260

Closed
wants to merge 2 commits into from

3 participants

roalddevries Jannis Leidel Mathieu Pillard
roalddevries

And a small docs-bugfix

Jannis Leidel
Owner

Hm, can you provide a test that demonstrates the issue?

Mathieu Pillard
Owner

Too old and no answer from original poster -> closing.

Mathieu Pillard diox closed this
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Commits on May 11, 2012
  1. dont cd to tests dir for tox

    Roald de Vries authored
This page is out of date. Refresh to see the latest.
Showing with 5 additions and 4 deletions.
  1. +1 −0  compressor/css.py
  2. +4 −4 docs/contributing.txt
1  compressor/css.py
View
@@ -32,6 +32,7 @@ def split_contents(self):
append_to_previous = self.media_nodes and self.media_nodes[-1][0] == media
# and we are not just precompiling, otherwise create a new node.
if append_to_previous and settings.COMPRESS_ENABLED:
+ self.media_nodes[-1][1].content += self.parser.elem_str(elem)
self.media_nodes[-1][1].split_content.append(data)
else:
node = CssCompressor(content=self.parser.elem_str(elem),
8 docs/contributing.txt
View
@@ -105,10 +105,10 @@ Running the tests
^^^^^^^^^^^^^^^^^
To run the tests simply install tox_, change your working directory to
-the ``tests`` directory and run ``tox`` in your shell. This will run the tests
-in Python 2.5, 2.6 and 2.7 (if appropriate binaries are found on the ``PATH``)
-with Django 1.2.X and 1.3.X. The docs will be automatically built, too.
-If you only want to run a specific environment, pass the ``-e`` option to
+the ``django_compressor`` directory and run ``tox`` in your shell. This will run
+the tests in Python 2.5, 2.6 and 2.7 (if appropriate binaries are found on the
+``PATH``) with Django 1.2.X and 1.3.X. The docs will be automatically built,
+too. If you only want to run a specific environment, pass the ``-e`` option to
``tox``, e.g. ``tox -e py25``. For more information see the `tox docs`_. An
example:
Something went wrong with that request. Please try again.