Liste récursive des interactions
This commit is contained in:
@ -36,10 +36,10 @@ final = Expectation("""1 -> Ne rien faire
|
||||
|
||||
Entrez le numéro de votre choix :""", response='2', name='final')
|
||||
|
||||
|
||||
expectations.add_expectation(already_registered)
|
||||
expectations.add_expectation(network_configuration)
|
||||
expectations.add_expectation(new_server)
|
||||
expectations.add_expectation(zephir_address)
|
||||
expectations.add_expectation(hardware)
|
||||
expectations.add_expectation(key_available)
|
||||
expectations.add_expectation(final)
|
||||
@ -48,6 +48,7 @@ network_configuration.set_next_expectation(interface_name, triggers=['O', 'Oui',
|
||||
interface_name.set_next_expectation(network_address)
|
||||
network_address.set_next_expectation(network_netmask)
|
||||
network_netmask.set_next_expectation(gateway)
|
||||
network_configuration.set_next_expectation(zephir_address, triggers=['N', 'Non', 'NON'])
|
||||
|
||||
new_server.set_next_expectation(rne, triggers=['N', 'Non', 'NON'])
|
||||
rne.set_next_expectation(server_id, triggers='')
|
||||
|
Reference in New Issue
Block a user