class_docstr: Tests the ``convert_wire_order`` utility function.
class_docstr_tok: ["Tests","the","``","convert_wire_order","``","utility","function","."]
docstr: Test that a wire map is produced if no wire order is passed.
docstr_tok: ["Test","that","a","wire","map","is","produced","if","no","wire","order","is","passed","."]
code: def test_no_wire_order(self):
      """Test that a wire map is produced if no wire order is passed."""
  
      ops = [qml.PauliX(0), qml.PauliX(2), qml.PauliX(1)]
  
      wire_map = convert_wire_order(ops)
  
      assert wire_map == {0: 0, 2: 1, 1: 2}
  
imports: import pytest
  import pennylane
  from pennylane.drawer.utils import default_wire_map, default_bit_map, convert_wire_order, unwrap_controls, cwire_connections
  from pennylane.wires import Wires
label_desc: Use image node_id 1 for calling the TestConvertWireOrder obj's underlying member method code with example usage: obj.test_no_wire_order() without return types