Commits

Sergey Maranchuk committed b6cf063

fix tests for static

  • Participants
  • Parent commits 60b74ba

Comments (0)

Files changed (3)

-76482633dc52faeac2191f853b32a16307be2697 projects
+8158da123f91c9687429d5fc6a03e36cd98b6cc0 projects

File djangobb_forum/fixtures/test_forum.json

-[{"pk": 22, "model": "auth.permission", "fields": {"codename": "add_logentry", "name": "Can add log entry", "content_type": ["admin", "logentry"]}}, {"pk": 23, "model": "auth.permission", "fields": {"codename": "change_logentry", "name": "Can change log entry", "content_type": ["admin", "logentry"]}}, {"pk": 24, "model": "auth.permission", "fields": {"codename": "delete_logentry", "name": "Can delete log entry", "content_type": ["admin", "logentry"]}}, {"pk": 4, "model": "auth.permission", "fields": {"codename": "add_group", "name": "Can add group", "content_type": ["auth", "group"]}}, {"pk": 5, "model": "auth.permission", "fields": {"codename": "change_group", "name": "Can change group", "content_type": ["auth", "group"]}}, {"pk": 6, "model": "auth.permission", "fields": {"codename": "delete_group", "name": "Can delete group", "content_type": ["auth", "group"]}}, {"pk": 10, "model": "auth.permission", "fields": {"codename": "add_message", "name": "Can add message", "content_type": ["auth", "message"]}}, {"pk": 11, "model": "auth.permission", "fields": {"codename": "change_message", "name": "Can change message", "content_type": ["auth", "message"]}}, {"pk": 12, "model": "auth.permission", "fields": {"codename": "delete_message", "name": "Can delete message", "content_type": ["auth", "message"]}}, {"pk": 1, "model": "auth.permission", "fields": {"codename": "add_permission", "name": "Can add permission", "content_type": ["auth", "permission"]}}, {"pk": 2, "model": "auth.permission", "fields": {"codename": "change_permission", "name": "Can change permission", "content_type": ["auth", "permission"]}}, {"pk": 3, "model": "auth.permission", "fields": {"codename": "delete_permission", "name": "Can delete permission", "content_type": ["auth", "permission"]}}, {"pk": 7, "model": "auth.permission", "fields": {"codename": "add_user", "name": "Can add user", "content_type": ["auth", "user"]}}, {"pk": 8, "model": "auth.permission", "fields": {"codename": "change_user", "name": "Can change user", "content_type": ["auth", "user"]}}, {"pk": 9, "model": "auth.permission", "fields": {"codename": "delete_user", "name": "Can delete user", "content_type": ["auth", "user"]}}, {"pk": 13, "model": "auth.permission", "fields": {"codename": "add_contenttype", "name": "Can add content type", "content_type": ["contenttypes", "contenttype"]}}, {"pk": 14, "model": "auth.permission", "fields": {"codename": "change_contenttype", "name": "Can change content type", "content_type": ["contenttypes", "contenttype"]}}, {"pk": 15, "model": "auth.permission", "fields": {"codename": "delete_contenttype", "name": "Can delete content type", "content_type": ["contenttypes", "contenttype"]}}, {"pk": 31, "model": "auth.permission", "fields": {"codename": "add_association", "name": "Can add association", "content_type": ["django_authopenid", "association"]}}, {"pk": 32, "model": "auth.permission", "fields": {"codename": "change_association", "name": "Can change association", "content_type": ["django_authopenid", "association"]}}, {"pk": 33, "model": "auth.permission", "fields": {"codename": "delete_association", "name": "Can delete association", "content_type": ["django_authopenid", "association"]}}, {"pk": 28, "model": "auth.permission", "fields": {"codename": "add_nonce", "name": "Can add nonce", "content_type": ["django_authopenid", "nonce"]}}, {"pk": 29, "model": "auth.permission", "fields": {"codename": "change_nonce", "name": "Can change nonce", "content_type": ["django_authopenid", "nonce"]}}, {"pk": 30, "model": "auth.permission", "fields": {"codename": "delete_nonce", "name": "Can delete nonce", "content_type": ["django_authopenid", "nonce"]}}, {"pk": 34, "model": "auth.permission", "fields": {"codename": "add_userassociation", "name": "Can add user association", "content_type": ["django_authopenid", "userassociation"]}}, {"pk": 35, "model": "auth.permission", "fields": {"codename": "change_userassociation", "name": "Can change user association", "content_type": ["django_authopenid", "userassociation"]}}, {"pk": 36, "model": "auth.permission", "fields": {"codename": "delete_userassociation", "name": "Can delete user association", "content_type": ["django_authopenid", "userassociation"]}}, {"pk": 64, "model": "auth.permission", "fields": {"codename": "add_reputation", "name": "Can add Reputation", "content_type": ["djangobb_forum", "attachment"]}}, {"pk": 65, "model": "auth.permission", "fields": {"codename": "change_reputation", "name": "Can change Reputation", "content_type": ["djangobb_forum", "attachment"]}}, {"pk": 66, "model": "auth.permission", "fields": {"codename": "delete_reputation", "name": "Can delete Reputation", "content_type": ["djangobb_forum", "attachment"]}}, {"pk": 61, "model": "auth.permission", "fields": {"codename": "add_post", "name": "Can add Post", "content_type": ["djangobb_forum", "ban"]}}, {"pk": 62, "model": "auth.permission", "fields": {"codename": "change_post", "name": "Can change Post", "content_type": ["djangobb_forum", "ban"]}}, {"pk": 63, "model": "auth.permission", "fields": {"codename": "delete_post", "name": "Can delete Post", "content_type": ["djangobb_forum", "ban"]}}, {"pk": 37, "model": "auth.permission", "fields": {"codename": "add_message", "name": "Can add Message", "content_type": ["djangobb_forum", "category"]}}, {"pk": 38, "model": "auth.permission", "fields": {"codename": "change_message", "name": "Can change Message", "content_type": ["djangobb_forum", "category"]}}, {"pk": 39, "model": "auth.permission", "fields": {"codename": "delete_message", "name": "Can delete Message", "content_type": ["djangobb_forum", "category"]}}, {"pk": 40, "model": "auth.permission", "fields": {"codename": "add_message", "name": "Can add message", "content_type": ["djangobb_forum", "forum"]}}, {"pk": 41, "model": "auth.permission", "fields": {"codename": "change_message", "name": "Can change message", "content_type": ["djangobb_forum", "forum"]}}, {"pk": 42, "model": "auth.permission", "fields": {"codename": "delete_message", "name": "Can delete message", "content_type": ["djangobb_forum", "forum"]}}, {"pk": 46, "model": "auth.permission", "fields": {"codename": "add_messagelog", "name": "Can add message log", "content_type": ["djangobb_forum", "post"]}}, {"pk": 47, "model": "auth.permission", "fields": {"codename": "change_messagelog", "name": "Can change message log", "content_type": ["djangobb_forum", "post"]}}, {"pk": 48, "model": "auth.permission", "fields": {"codename": "delete_messagelog", "name": "Can delete message log", "content_type": ["djangobb_forum", "post"]}}, {"pk": 55, "model": "auth.permission", "fields": {"codename": "add_forum", "name": "Can add Forum", "content_type": ["djangobb_forum", "posttracking"]}}, {"pk": 56, "model": "auth.permission", "fields": {"codename": "change_forum", "name": "Can change Forum", "content_type": ["djangobb_forum", "posttracking"]}}, {"pk": 57, "model": "auth.permission", "fields": {"codename": "delete_forum", "name": "Can delete Forum", "content_type": ["djangobb_forum", "posttracking"]}}, {"pk": 52, "model": "auth.permission", "fields": {"codename": "add_category", "name": "Can add Category", "content_type": ["djangobb_forum", "profile"]}}, {"pk": 53, "model": "auth.permission", "fields": {"codename": "change_category", "name": "Can change Category", "content_type": ["djangobb_forum", "profile"]}}, {"pk": 54, "model": "auth.permission", "fields": {"codename": "delete_category", "name": "Can delete Category", "content_type": ["djangobb_forum", "profile"]}}, {"pk": 58, "model": "auth.permission", "fields": {"codename": "add_topic", "name": "Can add Topic", "content_type": ["djangobb_forum", "report"]}}, {"pk": 59, "model": "auth.permission", "fields": {"codename": "change_topic", "name": "Can change Topic", "content_type": ["djangobb_forum", "report"]}}, {"pk": 60, "model": "auth.permission", "fields": {"codename": "delete_topic", "name": "Can delete Topic", "content_type": ["djangobb_forum", "report"]}}, {"pk": 49, "model": "auth.permission", "fields": {"codename": "add_migrationhistory", "name": "Can add migration history", "content_type": ["djangobb_forum", "reputation"]}}, {"pk": 50, "model": "auth.permission", "fields": {"codename": "change_migrationhistory", "name": "Can change migration history", "content_type": ["djangobb_forum", "reputation"]}}, {"pk": 51, "model": "auth.permission", "fields": {"codename": "delete_migrationhistory", "name": "Can delete migration history", "content_type": ["djangobb_forum", "reputation"]}}, {"pk": 43, "model": "auth.permission", "fields": {"codename": "add_dontsendentry", "name": "Can add don't send entry", "content_type": ["djangobb_forum", "topic"]}}, {"pk": 44, "model": "auth.permission", "fields": {"codename": "change_dontsendentry", "name": "Can change don't send entry", "content_type": ["djangobb_forum", "topic"]}}, {"pk": 45, "model": "auth.permission", "fields": {"codename": "delete_dontsendentry", "name": "Can delete don't send entry", "content_type": ["djangobb_forum", "topic"]}}, {"pk": 67, "model": "auth.permission", "fields": {"codename": "add_profile", "name": "Can add Profile", "content_type": ["messages", "message"]}}, {"pk": 68, "model": "auth.permission", "fields": {"codename": "change_profile", "name": "Can change Profile", "content_type": ["messages", "message"]}}, {"pk": 69, "model": "auth.permission", "fields": {"codename": "delete_profile", "name": "Can delete Profile", "content_type": ["messages", "message"]}}, {"pk": 25, "model": "auth.permission", "fields": {"codename": "add_registrationprofile", "name": "Can add registration profile", "content_type": ["registration", "registrationprofile"]}}, {"pk": 26, "model": "auth.permission", "fields": {"codename": "change_registrationprofile", "name": "Can change registration profile", "content_type": ["registration", "registrationprofile"]}}, {"pk": 27, "model": "auth.permission", "fields": {"codename": "delete_registrationprofile", "name": "Can delete registration profile", "content_type": ["registration", "registrationprofile"]}}, {"pk": 16, "model": "auth.permission", "fields": {"codename": "add_session", "name": "Can add session", "content_type": ["sessions", "session"]}}, {"pk": 17, "model": "auth.permission", "fields": {"codename": "change_session", "name": "Can change session", "content_type": ["sessions", "session"]}}, {"pk": 18, "model": "auth.permission", "fields": {"codename": "delete_session", "name": "Can delete session", "content_type": ["sessions", "session"]}}, {"pk": 19, "model": "auth.permission", "fields": {"codename": "add_site", "name": "Can add site", "content_type": ["sites", "site"]}}, {"pk": 20, "model": "auth.permission", "fields": {"codename": "change_site", "name": "Can change site", "content_type": ["sites", "site"]}}, {"pk": 21, "model": "auth.permission", "fields": {"codename": "delete_site", "name": "Can delete site", "content_type": ["sites", "site"]}}, {"pk": 70, "model": "auth.permission", "fields": {"codename": "add_posttracking", "name": "Can add Post tracking", "content_type": ["south", "migrationhistory"]}}, {"pk": 71, "model": "auth.permission", "fields": {"codename": "change_posttracking", "name": "Can change Post tracking", "content_type": ["south", "migrationhistory"]}}, {"pk": 72, "model": "auth.permission", "fields": {"codename": "delete_posttracking", "name": "Can delete Post tracking", "content_type": ["south", "migrationhistory"]}}, {"pk": 1, "model": "auth.group", "fields": {"name": "secret_group", "permissions": []}}, {"pk": 1, "model": "auth.user", "fields": {"username": "djangobb", "first_name": "", "last_name": "", "is_active": true, "is_superuser": true, "is_staff": true, "last_login": "2011-05-17 10:54:40", "groups": [], "user_permissions": [], "password": "sha1$1c9f3$a7684d8297cec9f1254edb3f072a249969b7914f", "email": "alafin@ukr.net", "date_joined": "2010-11-27 16:19:37"}}, {"pk": 2, "model": "auth.user", "fields": {"username": "alafin", "first_name": "", "last_name": "", "is_active": true, "is_superuser": false, "is_staff": false, "last_login": "2010-11-27 16:33:47", "groups": [], "user_permissions": [], "password": "sha1$db3a7$b6a47b44fabf6e266a2aaac0871edb70ff512e1b", "email": "alafin@python.su", "date_joined": "2010-11-27 16:33:47"}}, {"pk": 3, "model": "auth.user", "fields": {"username": "slav0nic", "first_name": "", "last_name": "", "is_active": true, "is_superuser": false, "is_staff": false, "last_login": "2011-05-17 10:56:43", "groups": [1], "user_permissions": [], "password": "sha1$b6ae5$a0e988b85a3bcf6957b70ade2b34e2883968d647", "email": "slav0nic0@gmail.com", "date_joined": "2010-11-27 16:35:05"}}, {"pk": 4, "model": "auth.user", "fields": {"username": "test", "first_name": "", "last_name": "", "is_active": false, "is_superuser": false, "is_staff": false, "last_login": "2010-11-27 16:35:40", "groups": [], "user_permissions": [], "password": "sha1$499ca$a5d3b46cc97e9336217508c6189fa9d3f73ccd9b", "email": "test@example.com", "date_joined": "2010-11-27 16:35:40"}}, {"pk": 3, "model": "djangobb_forum.category", "fields": {"position": 0, "name": "Secret", "groups": [1]}}, {"pk": 1, "model": "djangobb_forum.category", "fields": {"position": 1, "name": "General", "groups": []}}, {"pk": 2, "model": "djangobb_forum.category", "fields": {"position": 2, "name": "Other", "groups": []}}, {"pk": 3, "model": "djangobb_forum.forum", "fields": {"category": 2, "updated": "2010-11-27 18:08:16", "name": "Jython", "post_count": 0, "topic_count": 0, "moderators": [], "position": 0, "last_post": null, "description": "Jython questions"}}, {"pk": 4, "model": "djangobb_forum.forum", "fields": {"category": 3, "updated": "2011-05-17 10:55:44", "name": "Secret Forum", "post_count": 0, "topic_count": 0, "moderators": [], "position": 0, "last_post": null, "description": "forum for `secret` group"}}, {"pk": 1, "model": "djangobb_forum.forum", "fields": {"category": 1, "updated": "2011-05-17 10:54:16", "name": "Python", "post_count": 6, "topic_count": 2, "moderators": [], "position": 1, "last_post": 6, "description": "Python questions"}}, {"pk": 2, "model": "djangobb_forum.forum", "fields": {"category": 1, "updated": "2010-11-27 18:08:40", "name": "Django", "post_count": 0, "topic_count": 0, "moderators": [], "position": 2, "last_post": null, "description": "Django questions"}}, {"pk": 2, "model": "djangobb_forum.topic", "fields": {"updated": "2011-05-17 10:54:16", "name": "Test title2", "forum": 1, "views": 2, "post_count": 2, "created": "2011-05-17 10:54:09", "subscribers": [], "sticky": false, "user": 3, "closed": false, "last_post": 6}}, {"pk": 1, "model": "djangobb_forum.topic", "fields": {"updated": "2011-05-17 10:53:52", "name": "Test Title", "forum": 1, "views": 7, "post_count": 4, "created": "2010-11-27 19:58:38", "subscribers": [], "sticky": false, "user": 1, "closed": false, "last_post": 4}}, {"pk": 1, "model": "djangobb_forum.post", "fields": {"body": "Test Body", "user_ip": "127.0.0.1", "updated": null, "updated_by": null, "created": "2010-11-27 19:58:38", "markup": "bbcode", "body_html": "Test Body", "topic": 1, "user": 1}}, {"pk": 2, "model": "djangobb_forum.post", "fields": {"body": "Test body 2", "user_ip": "127.0.0.1", "updated": null, "updated_by": null, "created": "2011-05-17 10:53:24", "markup": "bbcode", "body_html": "Test body 2", "topic": 1, "user": 1}}, {"pk": 3, "model": "djangobb_forum.post", "fields": {"body": "Test body 3", "user_ip": "127.0.0.1", "updated": null, "updated_by": null, "created": "2011-05-17 10:53:29", "markup": "bbcode", "body_html": "Test body 3", "topic": 1, "user": 1}}, {"pk": 4, "model": "djangobb_forum.post", "fields": {"body": "Test body 4", "user_ip": "127.0.0.1", "updated": null, "updated_by": null, "created": "2011-05-17 10:53:51", "markup": "bbcode", "body_html": "Test body 4", "topic": 1, "user": 3}}, {"pk": 5, "model": "djangobb_forum.post", "fields": {"body": "Test body", "user_ip": "127.0.0.1", "updated": null, "updated_by": null, "created": "2011-05-17 10:54:09", "markup": "bbcode", "body_html": "Test body", "topic": 2, "user": 3}}, {"pk": 6, "model": "djangobb_forum.post", "fields": {"body": "Test body 2", "user_ip": "127.0.0.1", "updated": null, "updated_by": null, "created": "2011-05-17 10:54:16", "markup": "bbcode", "body_html": "Test body 2", "topic": 2, "user": 3}}, {"pk": 1, "model": "djangobb_forum.profile", "fields": {"status": "", "markup": "bbcode", "show_signatures": true, "avatar": "", "language": "", "post_count": 3, "privacy_permission": 1, "show_smilies": true, "site": "", "yahoo": "", "aim": "", "msn": "", "theme": "default", "time_zone": 3.0, "user": 1, "signature": "", "icq": "", "jabber": "", "show_avatar": true, "location": ""}}, {"pk": 2, "model": "djangobb_forum.profile", "fields": {"status": "", "markup": "bbcode", "show_signatures": true, "avatar": "", "language": "", "post_count": 3, "privacy_permission": 1, "show_smilies": true, "site": "", "yahoo": "", "aim": "", "msn": "", "theme": "default", "time_zone": 3.0, "user": 3, "signature": "", "icq": "", "jabber": "", "show_avatar": true, "location": ""}}, {"pk": 1, "model": "djangobb_forum.posttracking", "fields": {"topics": "{u'1': 3}", "user": 1, "last_read": null}}, {"pk": 2, "model": "djangobb_forum.posttracking", "fields": {"topics": "{u'1': 4, u'2': 6}", "user": 3, "last_read": null}}]
+[{"pk": 1, "model": "auth.group", "fields": {"name": "secret_group", "permissions": []}}, {"pk": 1, "model": "auth.user", "fields": {"username": "djangobb", "first_name": "", "last_name": "", "is_active": true, "is_superuser": true, "is_staff": true, "last_login": "2011-05-17 10:54:40", "groups": [], "user_permissions": [], "password": "sha1$1c9f3$a7684d8297cec9f1254edb3f072a249969b7914f", "email": "alafin@ukr.net", "date_joined": "2010-11-27 16:19:37"}}, {"pk": 2, "model": "auth.user", "fields": {"username": "alafin", "first_name": "", "last_name": "", "is_active": true, "is_superuser": false, "is_staff": false, "last_login": "2010-11-27 16:33:47", "groups": [], "user_permissions": [], "password": "sha1$db3a7$b6a47b44fabf6e266a2aaac0871edb70ff512e1b", "email": "alafin@python.su", "date_joined": "2010-11-27 16:33:47"}}, {"pk": 3, "model": "auth.user", "fields": {"username": "slav0nic", "first_name": "", "last_name": "", "is_active": true, "is_superuser": false, "is_staff": false, "last_login": "2011-05-17 10:56:43", "groups": [1], "user_permissions": [], "password": "sha1$b6ae5$a0e988b85a3bcf6957b70ade2b34e2883968d647", "email": "slav0nic0@gmail.com", "date_joined": "2010-11-27 16:35:05"}}, {"pk": 4, "model": "auth.user", "fields": {"username": "test", "first_name": "", "last_name": "", "is_active": false, "is_superuser": false, "is_staff": false, "last_login": "2010-11-27 16:35:40", "groups": [], "user_permissions": [], "password": "sha1$499ca$a5d3b46cc97e9336217508c6189fa9d3f73ccd9b", "email": "test@example.com", "date_joined": "2010-11-27 16:35:40"}}, {"pk": 3, "model": "djangobb_forum.category", "fields": {"position": 0, "name": "Secret", "groups": [1]}}, {"pk": 1, "model": "djangobb_forum.category", "fields": {"position": 1, "name": "General", "groups": []}}, {"pk": 2, "model": "djangobb_forum.category", "fields": {"position": 2, "name": "Other", "groups": []}}, {"pk": 3, "model": "djangobb_forum.forum", "fields": {"category": 2, "updated": "2010-11-27 18:08:16", "name": "Jython", "post_count": 0, "topic_count": 0, "moderators": [], "position": 0, "last_post": null, "description": "Jython questions"}}, {"pk": 4, "model": "djangobb_forum.forum", "fields": {"category": 3, "updated": "2011-05-17 10:55:44", "name": "Secret Forum", "post_count": 0, "topic_count": 0, "moderators": [], "position": 0, "last_post": null, "description": "forum for `secret` group"}}, {"pk": 1, "model": "djangobb_forum.forum", "fields": {"category": 1, "updated": "2011-05-17 10:54:16", "name": "Python", "post_count": 6, "topic_count": 2, "moderators": [], "position": 1, "last_post": 6, "description": "Python questions"}}, {"pk": 2, "model": "djangobb_forum.forum", "fields": {"category": 1, "updated": "2010-11-27 18:08:40", "name": "Django", "post_count": 0, "topic_count": 0, "moderators": [], "position": 2, "last_post": null, "description": "Django questions"}}, {"pk": 2, "model": "djangobb_forum.topic", "fields": {"updated": "2011-05-17 10:54:16", "name": "Test title2", "forum": 1, "views": 2, "post_count": 2, "created": "2011-05-17 10:54:09", "subscribers": [], "sticky": false, "user": 3, "closed": false, "last_post": 6}}, {"pk": 1, "model": "djangobb_forum.topic", "fields": {"updated": "2011-05-17 10:53:52", "name": "Test Title", "forum": 1, "views": 7, "post_count": 4, "created": "2010-11-27 19:58:38", "subscribers": [], "sticky": false, "user": 1, "closed": false, "last_post": 4}}, {"pk": 1, "model": "djangobb_forum.post", "fields": {"body": "Test Body", "user_ip": "127.0.0.1", "updated": null, "updated_by": null, "created": "2010-11-27 19:58:38", "markup": "bbcode", "body_html": "Test Body", "topic": 1, "user": 1}}, {"pk": 2, "model": "djangobb_forum.post", "fields": {"body": "Test body 2", "user_ip": "127.0.0.1", "updated": null, "updated_by": null, "created": "2011-05-17 10:53:24", "markup": "bbcode", "body_html": "Test body 2", "topic": 1, "user": 1}}, {"pk": 3, "model": "djangobb_forum.post", "fields": {"body": "Test body 3", "user_ip": "127.0.0.1", "updated": null, "updated_by": null, "created": "2011-05-17 10:53:29", "markup": "bbcode", "body_html": "Test body 3", "topic": 1, "user": 1}}, {"pk": 4, "model": "djangobb_forum.post", "fields": {"body": "Test body 4", "user_ip": "127.0.0.1", "updated": null, "updated_by": null, "created": "2011-05-17 10:53:51", "markup": "bbcode", "body_html": "Test body 4", "topic": 1, "user": 3}}, {"pk": 5, "model": "djangobb_forum.post", "fields": {"body": "Test body", "user_ip": "127.0.0.1", "updated": null, "updated_by": null, "created": "2011-05-17 10:54:09", "markup": "bbcode", "body_html": "Test body", "topic": 2, "user": 3}}, {"pk": 6, "model": "djangobb_forum.post", "fields": {"body": "Test body 2", "user_ip": "127.0.0.1", "updated": null, "updated_by": null, "created": "2011-05-17 10:54:16", "markup": "bbcode", "body_html": "Test body 2", "topic": 2, "user": 3}}, {"pk": 1, "model": "djangobb_forum.profile", "fields": {"status": "", "markup": "bbcode", "show_signatures": true, "avatar": "", "language": "", "post_count": 3, "privacy_permission": 1, "show_smilies": true, "site": "", "yahoo": "", "aim": "", "msn": "", "theme": "default", "time_zone": 3.0, "user": 1, "signature": "", "icq": "", "jabber": "", "show_avatar": true, "location": ""}}, {"pk": 2, "model": "djangobb_forum.profile", "fields": {"status": "", "markup": "bbcode", "show_signatures": true, "avatar": "", "language": "", "post_count": 3, "privacy_permission": 1, "show_smilies": true, "site": "", "yahoo": "", "aim": "", "msn": "", "theme": "default", "time_zone": 3.0, "user": 3, "signature": "", "icq": "", "jabber": "", "show_avatar": true, "location": ""}}, {"pk": 1, "model": "djangobb_forum.posttracking", "fields": {"topics": "{u'1': 3}", "user": 1, "last_read": null}}, {"pk": 2, "model": "djangobb_forum.posttracking", "fields": {"topics": "{u'1': 4, u'2': 6}", "user": 3, "last_read": null}}]

File djangobb_forum/tests/test_utils.py

 # -*- coding: utf-8 -*-
 from django.test import TestCase, RequestFactory
+from django.conf import settings
 
 from djangobb_forum.models import Post
 from djangobb_forum.util import urlize, smiles, convert_text_to_html, paginate
 
     def test_smiles(self):
         smiled_data = smiles(self.data_smiles)
-        self.assertEqual(smiled_data, u"Lorem ipsum dolor <img src=\"/static/forum/img/smilies/neutral.png\" /> sit amet <img src=\"/static/forum/img/smilies/smile.png\" /> <a href=\"http://djangobb.org/\">http://djangobb.org/</a>")
-    
+        self.assertEqual(smiled_data, u"Lorem ipsum dolor <img src=\"{0}djangobb_forum/img/smilies/neutral.png\" /> sit amet <img src=\"{0}djangobb_forum/img/smilies/smile.png\" /> <a href=\"http://djangobb.org/\">http://djangobb.org/</a>".format(settings.STATIC_URL))
+
     def test_convert_text_to_html(self):
         bb_data = convert_text_to_html(self.bbcode, 'bbcode')
         self.assertEqual(bb_data, "<strong>Lorem</strong> <div class=\"code\"><pre>ipsum :)</pre></div>=)")