'Test __unicode__() and __str__() methods of libraries'

@ddt.data('This    is    a    test    library!', u'\u03a9\u03bc\u03ad\u03b3\u03b1    \u0392\u03b9\u03b2\u03bb\u03b9\u03bf\u03b8\u03ae\u03ba\u03b7')
def test_str_repr(self, name):

    library = LibraryFactory.create(metadata={'display_name': name}, modulestore=self.store)
    self.assertIn(name, unicode(library))
    if (not isinstance(name, unicode)):
        self.assertIn(name, str(library))
