Exemplo n.º 1
0
 def test_nolink_tag(self, param_test):
     (root) = param_test
     if TestSimilarApi.icon_number == 0:
         pass
     else:
         value_of_tag = tag_value_with_icon_number(
             root, TestSimilarApi.icon_number, 'features/nolink', '1')
         assert word_count(value_of_tag) >= 1
Exemplo n.º 2
0
 def test_categorychild_tag(self, param_test):
     (root) = param_test
     if TestSimilarApi.icon_number == 0:
         pass
     else:
         value_of_tag = tag_value_with_icon_number(
             root, TestSimilarApi.icon_number, 'categories/category', '1')
         assert word_count(value_of_tag) > 1
Exemplo n.º 3
0
 def test_svg_tag(self, param_test):
     (root) = param_test
     if TestSimilarApi.icon_number == 0:
         pass
     else:
         value_of_tag = tag_value_with_icon_number(
             root, TestSimilarApi.icon_number, 'svg', '1')
         assert word_count(value_of_tag) > 1
Exemplo n.º 4
0
 def test_nolink_tag(self):
     value_of_tag = tag_value_with_icon_number(ContextIconsApi.response_root,
                                               ContextIconsApi.icon_number, 'features/nolink', '1')
     assert word_count(value_of_tag) >= 1
Exemplo n.º 5
0
 def test_category_tag(self):
     value_of_tag = tag_value_with_icon_number(ContextIconsApi.response_root,
                                               ContextIconsApi.icon_number, 'category', '1')
     assert word_count(value_of_tag) > 1
Exemplo n.º 6
0
 def test_nolink_tag(self, param_test):
     (root) = param_test
     value_of_tag = tag_value_with_icon_number(root, TestLatestApi.icon_number, 'features/nolink', '1')
     assert word_count(value_of_tag) >= 1
Exemplo n.º 7
0
 def test_category_tag(self, param_test):
     (root) = param_test
     value_of_tag = tag_value_with_icon_number(root, TestLatestApi.icon_number, 'category', '1')
     assert word_count(value_of_tag) > 1
Exemplo n.º 8
0
 def test_category_tag(self, param_test):
     (root) = param_test
     value_of_tag = tag_value_with_icon_number(
         ContextSearchMinApi.response_root, TestSearchMinAPI.icon_number,
         'category', '1')
     assert word_count(value_of_tag) > 1
Exemplo n.º 9
0
 def test_vector_tag(self, param_test):
     (root) = param_test
     value_of_tag = tag_value_with_icon_number(
         TestSearchDefaultApi.response_root,
         TestSearchDefaultApi.icon_number, 'features/vector', '1')
     assert word_count(value_of_tag) >= 1
Exemplo n.º 10
0
 def test_nolink_tag(self, param_test):
     (root) = param_test
     value_of_tag = tag_value_with_icon_number(
         ContextSearchMinApi.response_root, TestSearchMinAPI.icon_number,
         'features/nolink', '1')
     assert word_count(value_of_tag) >= 1
Exemplo n.º 11
0
 def test_categorychild_tag(self, param_test):
     (root) = param_test
     value_of_tag = tag_value_with_icon_number(
         TestSearchMaxAPI.response_root, TestSearchMaxAPI.icon_number,
         'categories/category', '1')
     assert word_count(value_of_tag) > 1
Exemplo n.º 12
0
 def test_nolink_tag(self, param_test):
     (root) = param_test
     value_of_tag = tag_value_with_icon_number(
         TestSearchMaxAPI.response_root,
         TestSearchMaxAPI.icons_current_count, 'features/nolink', '1')
     assert word_count(value_of_tag) >= 1
Exemplo n.º 13
0
 def test_bitmap_tag(self, param_test):
     (root) = param_test
     value_of_tag = tag_value_with_icon_number(
         TestSearchMaxAPI.response_root, TestSearchMaxAPI.icon_number,
         'features/bitmap', '1')
     assert word_count(value_of_tag) >= 1
Exemplo n.º 14
0
 def test_svg_tag(self, param_test):
     (root) = param_test
     value_of_tag = tag_value_with_icon_number(
         TestSearchMaxAPI.response_root, TestSearchMaxAPI.icon_number,
         'svg', '1')
     assert word_count(value_of_tag) > 1