##// END OF EJS Templates
Fixed API related tests
neko259 -
r1175:3d7a615a decentral
parent child Browse files
Show More
@@ -133,13 +133,6 b' class PostTests(TestCase):'
133 self.assertTrue(post_local_reflink in post.referenced_posts.all(),
133 self.assertTrue(post_local_reflink in post.referenced_posts.all(),
134 'Local reflink not connecting posts.')
134 'Local reflink not connecting posts.')
135
135
136 post_global_reflink = Post.objects.create_post(title='',
137 text='[post]%s::%s::%d[/post]' % (
138 post.global_id.key_type, post.global_id.key, post.id),
139 thread=post.get_thread())
140
141 self.assertTrue(post_global_reflink in post.referenced_posts.all(),
142 'Global reflink not connecting posts.')
143
136
144 def test_thread_replies(self):
137 def test_thread_replies(self):
145 """
138 """
@@ -11,6 +11,7 b' HTTP_CODE_OK = 200'
11 EXCLUDED_VIEWS = {
11 EXCLUDED_VIEWS = {
12 'banned',
12 'banned',
13 'get_thread_diff',
13 'get_thread_diff',
14 'api_sync_pull',
14 }
15 }
15
16
16
17
General Comments 0
You need to be logged in to leave comments. Login now