from invoke import task, Collection

@task
def dummy(c):
    pass

ns = Collection(dummy, subcollection=Collection())

from invoke import task, Collection

@task
def dummy(c):
    pass

ns = Collection(dummy, Collection('subcollection'))

Fix a dumb test fixture mistake
Fix a dumb test fixture mistake
