MCPcopy Create free account
hub / github.com/pyinvoke/invoke / empty_collection

Method empty_collection

tests/collection.py:733–737  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

731
732 class serialized:
733 def empty_collection(self):
734 expected = dict(
735 name=None, help=None, tasks=[], default=None, collections=[]
736 )
737 assert expected == Collection().serialized()
738
739 def empty_named_collection(self):
740 expected = dict(

Callers

nothing calls this directly

Calls 2

CollectionClass · 0.90
serializedMethod · 0.80

Tested by

no test coverage detected