from spec import eq_

from invoke import ctask, Collection


@ctask
def collection(c):
    c.run('false') # Ensures a kaboom if mocking fails


ns = Collection(collection)
ns.configure({'run': {'echo': True}})

from spec import eq_

from invoke import ctask, Collection


@ctask
def go(c):
    c.run('false') # Ensures a kaboom if mocking fails


ns = Collection(go)
ns.configure({'run': {'echo': True}})

Fix test fixture to match earlier test change
Fix test fixture to match earlier test change

  from spec import eq_
  
  from invoke import ctask, Collection
  
  
  @ctask
- def collection(c):
+ def go(c):
      c.run('false') # Ensures a kaboom if mocking fails
  
  
- ns = Collection(collection)
+ ns = Collection(go)
  ns.configure({'run': {'echo': True}})
  
Fix test fixture to match earlier test change
## Code Before:
from spec import eq_

from invoke import ctask, Collection


@ctask
def collection(c):
    c.run('false') # Ensures a kaboom if mocking fails


ns = Collection(collection)
ns.configure({'run': {'echo': True}})

## Instruction:
Fix test fixture to match earlier test change
## Code After:
from spec import eq_

from invoke import ctask, Collection


@ctask
def go(c):
    c.run('false') # Ensures a kaboom if mocking fails


ns = Collection(go)
ns.configure({'run': {'echo': True}})
