﻿id	summary	reporter	owner	description	type	status	component	version	severity	resolution	keywords	cc	stage	has_patch	needs_docs	needs_tests	needs_better_patch	easy	ui_ux
24878	response.content TypeError: Type str doesn't support the buffer API	Samuel Spencer	nobody	"Every test in my tests suite for {{{ some_string in response.context}} fails with the same exception ""TypeError: Type str doesn't support the buffer API"".

Fails for both Django 1.7 and Django 1.8

Example code:

{{{
        response = self.client.get(self.wg1.get_absolute_url())
        self.assertFalse(""archive_modal"" in response.content)
}}}


Corresponding traceback:

{{{
======================================================================
ERROR: test_manager_can_archive (aristotle_mdr.tests.test_workgroups.WorkgroupMemberTests)
----------------------------------------------------------------------
Traceback (most recent call last):
  File ""/home/travis/build/aristotle-mdr/aristotle-metadata-registry/aristotle_mdr/tests/test_workgroups.py"", line 192, in test_manager_can_archive
    self.assertFalse(""archive_modal"" in response.content)
TypeError: Type str doesn't support the buffer API
}}}
"	Uncategorized	closed	Uncategorized	1.8	Normal	invalid			Unreviewed	0	0	0	0	0	0
