old_contents: import os
  
  from spec import eq_
  
  from invoke import run
  
  from _utils import support
  
  
  # Yea, it's not really object-oriented, but whatever :)
  class Integration(object):
      # Yo dogfood, I heard you like invoking
      def basic_invocation(self):
          os.chdir(support)
          result = run("invoke -c integration print_foo")
          eq_(result.stdout, "foo\n")
  
      def implicit_task_module(self):
          # Contains tasks.py
          os.chdir(support + '/implicit/')
          # Doesn't specify --collection
          result = run("invoke foo")
          eq_(result.stdout, "Hm\n")
  
new_contents: import os
  
  from spec import eq_
  
  from invoke import run
  
  from _utils import support
  
  
  # Yea, it's not really object-oriented, but whatever :)
  class CLI(object):
      "Command-line interface"
  
      # Yo dogfood, I heard you like invoking
      def basic_invocation(self):
          os.chdir(support)
          result = run("invoke -c integration print_foo")
          eq_(result.stdout, "foo\n")
  
      def implicit_task_module(self):
          # Contains tasks.py
          os.chdir(support + '/implicit/')
          # Doesn't specify --collection
          result = run("invoke foo")
          eq_(result.stdout, "Hm\n")
  
subject: Rename test class