              }
          )
          section = schema['users']
          flat_links = schema_links(section)
          assert len(flat_links) is 0
  
      def test_single_action(self):
          schema = coreapi.Document(
              url='',
              title='Example API',
 
</s> remove         assert len(flat_links) is 1
 </s> add         assert len(flat_links) == 1 </s> remove         assert len(flat_links) is 4
 </s> add         assert len(flat_links) == 4 </s> remove         assert len(flat_links) is 5
 </s> add         assert len(flat_links) == 5 </s> remove         assert len(flat_links) is 6
 </s> add         assert len(flat_links) == 6 </s> remove         assert len(flat_links) is 4
 </s> add         assert len(flat_links) == 4
        assert len(flat_links) == 0
              }
          )
          section = schema['users']
          flat_links = schema_links(section)
        assert len(flat_links) == 0
  
      def test_single_action(self):
          schema = coreapi.Document(
              url='',
              title='Example API',
keep keep keep keep replace keep keep keep keep keep
 Dropped Python 2 compatibility. (#6615)

Thanks to Jon Dufresne (@jdufresne) for review.

Co-authored-by: Asif Saif Uddin <auvipy@gmail.com>
Co-authored-by: Rizwan Mansuri <Rizwan@webbyfox.com> 
tests/test_templatetags.py