Just tried with this unit test and it fails ```
def test_POST_multiple_deploy_override_options(self): self.patch(node_module.Node, "_start") self.patch(machines_module, "get_curtin_merged_config") osystem = Config.objects.get_config("default_osystem") distro_series = Config.objects.get_config("default_distro_series") make_usable_osystem( self, osystem_name=osystem, releases=[distro_series] ) machine = factory.make_Node( owner=self.user, interface=True, status=NODE_STATUS.ALLOCATED, power_type="manual", distro_series=distro_series, osystem=osystem, architecture=make_usable_architecture(self), )
response = self.client.post( self.get_machine_uri(machine), {"op": "deploy", "enable_hw_sync": True} ) response_info = json_load_bytes(response.content) assert response_info["enable_hw_sync"] is True
response = self.client.post( self.get_machine_uri(machine), {"op": "deploy"} ) response_info = json_load_bytes(response.content) assert response_info["enable_hw_sync"] is False
```
Just tried with this unit test and it fails
```
def test_POST_ multiple_ deploy_ override_ options( self):
self.patch( node_module. Node, "_start")
self.patch( machines_ module, "get_curtin_ merged_ config" ) objects. get_config( "default_ osystem" )
distro_ series = Config. objects. get_config( "default_ distro_ series" )
make_usable_ osystem( name=osystem, releases= [distro_ series]
owner= self.user,
interface= True,
status= NODE_STATUS. ALLOCATED,
power_ type="manual" ,
distro_ series= distro_ series,
osystem= osystem,
architectu re=make_ usable_ architecture( self),
osystem = Config.
self, osystem_
)
machine = factory.make_Node(
)
response = self.client.post(
self. get_machine_ uri(machine) , {"op": "deploy", "enable_hw_sync": True}
response_ info = json_load_ bytes(response. content) info["enable_ hw_sync" ] is True
)
assert response_
response = self.client.post(
self. get_machine_ uri(machine) , {"op": "deploy"}
response_ info = json_load_ bytes(response. content) info["enable_ hw_sync" ] is False
)
assert response_
```