Example #1
0
 def test_on_node_with_explicit_follow_is_2(self):
     self.assertEqual(get_is_following(self.hugo.id, self.n1), 2)
Example #2
0
 def test_on_node_with_transitive_follow_is_1(self):
     self.assertEqual(get_is_following(self.hugo.id, self.n2), 1)
Example #3
0
 def test_on_node_without_follow_is_0(self):
     self.assertEqual(get_is_following(self.hugo.id, self.n), 0)
Example #4
0
 def test_on_node_with_explicit_follow_is_2(self):
     self.assertEqual(get_is_following(self.hugo.id, self.n1), 2)
Example #5
0
 def test_on_node_with_transitive_follow_is_1(self):
     self.assertEqual(get_is_following(self.hugo.id, self.n2), 1)
Example #6
0
 def test_on_node_without_follow_is_0(self):
     self.assertEqual(get_is_following(self.hugo.id, self.n), 0)