File diff e982e9c89e10 → 4516cd7f6cbb
tests/test_decorators.py
Show inline comments
 
@@ -16,24 +16,24 @@
 
#
 
# You should have received a copy of the GNU General Public License along with
 
# Gimmecert.  If not, see <http://www.gnu.org/licenses/>.
 
#
 

	
 

	
 
import collections
 
import collections.abc
 

	
 
import gimmecert.decorators
 

	
 
import pytest
 

	
 

	
 
def test_get_subcommand_parser_setup_functions_returns_list():
 

	
 
    registered_functions = gimmecert.decorators.get_subcommand_parser_setup_functions()
 

	
 
    assert isinstance(registered_functions, collections.Iterable)
 
    assert isinstance(registered_functions, collections.abc.Iterable)
 

	
 

	
 
def test_subcommand_parser_decorator_registers_function():
 

	
 
    @gimmecert.decorators.subcommand_parser
 
    def myfunction1(parser, subparsers):