<feed xmlns='http://www.w3.org/2005/Atom'>
<title>chango.git/tests/admin_scripts, branch 1.8a1</title>
<subtitle>django
</subtitle>
<id>http://cgit.adnoto.dev/chango.git/atom?h=1.8a1</id>
<link rel='self' href='http://cgit.adnoto.dev/chango.git/atom?h=1.8a1'/>
<link rel='alternate' type='text/html' href='http://cgit.adnoto.dev/chango.git/'/>
<updated>2014-12-30T17:16:25Z</updated>
<entry>
<title>Applied ignore_warnings to Django tests</title>
<updated>2014-12-30T17:16:25Z</updated>
<author>
<name>Claude Paroz</name>
<email>claude@2xlibre.net</email>
</author>
<published>2014-12-21T20:19:05Z</published>
<link rel='alternate' type='text/html' href='http://cgit.adnoto.dev/chango.git/commit/?id=51890ce8898f821d28f2f6fb6071c936e9bd88f0'/>
<id>urn:sha1:51890ce8898f821d28f2f6fb6071c936e9bd88f0</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Fixed #21255 -- Closed connections after management command ran</title>
<updated>2014-12-29T18:02:45Z</updated>
<author>
<name>Claude Paroz</name>
<email>claude@2xlibre.net</email>
</author>
<published>2014-12-28T17:10:12Z</published>
<link rel='alternate' type='text/html' href='http://cgit.adnoto.dev/chango.git/commit/?id=1d24f073e65113c8c6d974db0504ef7d083809f7'/>
<id>urn:sha1:1d24f073e65113c8c6d974db0504ef7d083809f7</id>
<content type='text'>
Thanks kabakov.as@gmail.com for the report, and Aymeric Augustin,
Simon Charette for the reviews.
</content>
</entry>
<entry>
<title>Removed an unnecessary models file in the admin_scripts tests.</title>
<updated>2014-12-27T00:31:54Z</updated>
<author>
<name>Tim Graham</name>
<email>timograham@gmail.com</email>
</author>
<published>2014-12-27T00:21:51Z</published>
<link rel='alternate' type='text/html' href='http://cgit.adnoto.dev/chango.git/commit/?id=7c07612e9045f8e1b881f321ea68a4bacb2d70df'/>
<id>urn:sha1:7c07612e9045f8e1b881f321ea68a4bacb2d70df</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Replaced sqlall in some bash_completion/admin_scripts tests.</title>
<updated>2014-12-26T23:52:26Z</updated>
<author>
<name>Tim Graham</name>
<email>timograham@gmail.com</email>
</author>
<published>2014-12-26T23:23:00Z</published>
<link rel='alternate' type='text/html' href='http://cgit.adnoto.dev/chango.git/commit/?id=75bbcfa332397a39e95bb267100cd1524314105c'/>
<id>urn:sha1:75bbcfa332397a39e95bb267100cd1524314105c</id>
<content type='text'>
sqlall will be removed in Django 1.9, so now's a good time to remove
its usage where it's not important.
</content>
</entry>
<entry>
<title>Fixed #23620 -- Used more specific assertions in the Django test suite.</title>
<updated>2014-11-03T16:56:37Z</updated>
<author>
<name>Berker Peksag</name>
<email>berker.peksag@gmail.com</email>
</author>
<published>2014-10-28T10:02:56Z</published>
<link rel='alternate' type='text/html' href='http://cgit.adnoto.dev/chango.git/commit/?id=f7969b0920c403118656f6bfec58d6454d79ef1a'/>
<id>urn:sha1:f7969b0920c403118656f6bfec58d6454d79ef1a</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Refactored color_style() and no_style() to improve testability. Refs #23663.</title>
<updated>2014-10-22T04:27:00Z</updated>
<author>
<name>Loic Bistuer</name>
<email>loic.bistuer@gmail.com</email>
</author>
<published>2014-10-21T08:31:24Z</published>
<link rel='alternate' type='text/html' href='http://cgit.adnoto.dev/chango.git/commit/?id=eb82fb0a9d14ca317d366afb65e21d742bbe46a5'/>
<id>urn:sha1:eb82fb0a9d14ca317d366afb65e21d742bbe46a5</id>
<content type='text'>
This includes the following improvements:

- The type of the style object is now called 'Style' rather than 'dummy'.
- The new make_style() function allows generating a Style object directly
  from a config string. Before the only way to get a style object was
  through the environ and it also required that the terminal supported
  colors which isn't necessarily the case when testing.
- The output of no_style() is now cached with @lru_cache.
- The output of no_style() now has the same set of attributes as the
  other Style objects. Previously it allowed anything to pass through
  with __getattr__.
</content>
</entry>
<entry>
<title>Fixed #23686 -- Tweak color output of the system check framework.</title>
<updated>2014-10-22T04:27:00Z</updated>
<author>
<name>Loic Bistuer</name>
<email>loic.bistuer@gmail.com</email>
</author>
<published>2014-10-20T11:10:53Z</published>
<link rel='alternate' type='text/html' href='http://cgit.adnoto.dev/chango.git/commit/?id=bdb4118b1ad166e2d02f725354ca1c1021976cb5'/>
<id>urn:sha1:bdb4118b1ad166e2d02f725354ca1c1021976cb5</id>
<content type='text'>
Thanks Tim Graham for the review.
</content>
</entry>
<entry>
<title>Made testing of stdout and stderr more consistent.</title>
<updated>2014-10-22T02:25:50Z</updated>
<author>
<name>Loic Bistuer</name>
<email>loic.bistuer@gmail.com</email>
</author>
<published>2014-10-21T17:15:10Z</published>
<link rel='alternate' type='text/html' href='http://cgit.adnoto.dev/chango.git/commit/?id=494ba051bb0d3ebbdbea7598251b1ee6fe9b69b4'/>
<id>urn:sha1:494ba051bb0d3ebbdbea7598251b1ee6fe9b69b4</id>
<content type='text'>
Refs #23663.
</content>
</entry>
<entry>
<title>Fixed #23663 -- Initialize output streams for BaseCommand in __init__().</title>
<updated>2014-10-22T02:25:50Z</updated>
<author>
<name>Loic Bistuer</name>
<email>loic.bistuer@gmail.com</email>
</author>
<published>2014-10-21T18:11:31Z</published>
<link rel='alternate' type='text/html' href='http://cgit.adnoto.dev/chango.git/commit/?id=533532302ae842c95cf7294ef6cd7f3e2bfaca65'/>
<id>urn:sha1:533532302ae842c95cf7294ef6cd7f3e2bfaca65</id>
<content type='text'>
This helps with testability of management commands.

Thanks to trac username daveoncode for the report and to
Tim Graham and Claude Paroz for the reviews.
</content>
</entry>
<entry>
<title>Fixed #23107 -- Made runserver output respect --no-color.</title>
<updated>2014-10-21T18:03:15Z</updated>
<author>
<name>Loic Bistuer</name>
<email>loic.bistuer@gmail.com</email>
</author>
<published>2014-10-20T11:01:03Z</published>
<link rel='alternate' type='text/html' href='http://cgit.adnoto.dev/chango.git/commit/?id=c34e13e17c664ea43b85572428bcf74c7509db3f'/>
<id>urn:sha1:c34e13e17c664ea43b85572428bcf74c7509db3f</id>
<content type='text'>
This commit reverts 67d7da5fb9498b811f0168f5df2308ad4743027f.

The previous fix changed the environment globally, which meant
that any call to `call_command(no_color=True)` prevented further
`call_command` with color.

This fix still relies on the environment because it's currently the only
way to reach WSGIRequestHandler, but it's now limited to the `runserver`
command. This seems an acceptable compromise considering `runserver` runs
indefinitely.

Thanks Tim Graham for the review.
</content>
</entry>
</feed>
