def test_fileio(self):
        with patch.dict(sysbench.__salt__,
                        {'cmd.run': MagicMock(return_value={'A': 'a'})}):
            with patch.object(sysbench, '_parser', return_value={'A': 'a'}):
                self.assertEqual(sysbench.fileio(),
                                 {'Mode: seqrd': {'A': 'a'},
                                  'Mode: seqwr': {'A': 'a'},
                                  'Mode: rndrd': {'A': 'a'},
                                  'Mode: rndwr': {'A': 'a'},
                                  'Mode: seqrewr': {'A': 'a'},
                                  'Mode: rndrw': {'A': 'a'}})
:return: Content type for this instance.
dataset/ETHPy150Open saltstack/salt/tests/unit/modules/sysbench_test.py/SysbenchTestCase.test_fileio--crossover with--dataset/ETHPy150Open Nikola-K/django_reddit/django_reddit/utils/model_utils.py/ContentTypeAware.get_content_type