old_contents: from webtest import TestApp
  
  import notes
  
  def test_index():
      bottle = TestApp(notes.app)
      result = bottle.get('/')
      assert result.status == '200 OK'
      assert result.body == 'hello'
  
new_contents: from webtest import TestApp
  
  import notes
  
  class TestWebserver():
      def test_index(self):
          bottle = TestApp(notes.app)
          result = bottle.get('/')
          assert result.status == '200 OK'
          assert result.body == 'hello'
  
subject: put the methods in notes_test.py into a class