def test_state_prefix(self):
        result = self._render_sls('''
.test:
  cmd.run:
    - name: echo renamed
    - cwd: /

state_id:
  cmd:
    - run
    - name: echo not renamed
    - cwd: /
''', sls='test')
        self.assertEqual(len(result), 2)
        self.assertTrue('test::test' in result)
        self.assertTrue(result in 'state_id')
dataset/ETHPy150Open saltstack/salt/tests/unit/stateconf_test.py/StateConfigRendererTestCase.test_state_prefix/swapped operands of `in`