def Id_replaces_spaces_with_dashes__test(): assert_equal( "hello-world", poemtube.make_id( FakeDb(), "hello world" ) )
def Id_replaces_nonalphanum_with_dashes__test(): assert_equal( "hello-world----------------------------", poemtube.make_id( FakeDb(), """hello world?:{}[]"'+=-_)(*&^%$"!.,<>/@~""" ) )
def Id_is_all_lower_case__test(): assert_equal( "hello", poemtube.make_id( FakeDb(), "HEllO" ) )