def test_register_strategy(self):
        session = Mock()
        self.sync_strategy.register_strategy(session)
        register_args = session.register.call_args_list
        self.assertEqual(register_args[0][0][0],
                         'building-arg-table.sync')
        self.assertEqual(register_args[0][0][1],
                         self.sync_strategy.add_sync_argument)
        self.assertEqual(register_args[1][0][0], 'choosing-s3-sync-strategy')
        self.assertEqual(register_args[1][0][1],
                         self.sync_strategy.use_sync_strategy)
Ensures that the class registers all of the necessary handlers
dataset/ETHPy150Open aws/aws-cli/tests/unit/customizations/s3/syncstrategy/test_base.py/TestBaseSync.test_register_strategy