old_contents: from av.option import Option
  
  from common import *
  
  
  class TestOptions(TestCase):
  
      def test_mov_options(self):
  
          mov = av.ContainerFormat('mov')
          options = mov.descriptor.options
          by_name = {opt.name: opt for opt in options}
  
          opt = by_name.get('use_absolute_path')
  
          self.assertIsInstance(opt, Option)
          self.assertEqual(opt.name, 'use_absolute_path')
  
          # This was not a good option to actually test.
          self.assertIn(opt.type, ('BOOL', 'INT'))
  
new_contents: from common import *
  
  from av.option import Option, OptionTypes as types
  
  
  class TestOptions(TestCase):
  
      def test_mov_options(self):
  
          mov = av.ContainerFormat('mov')
          options = mov.descriptor.options
          by_name = {opt.name: opt for opt in options}
  
          opt = by_name.get('use_absolute_path')
  
          self.assertIsInstance(opt, Option)
          self.assertEqual(opt.name, 'use_absolute_path')
  
          # This was not a good option to actually test.
          self.assertIn(opt.type, (types.BOOL, types.INT))
  
subject: Fix the one broken test due to OptionType enum.