Reorganized project structure vis a vis tests

This commit is contained in:
B.J. Dweck 2020-10-15 23:35:49 +02:00
parent 29d81860ee
commit 4db6393f9b
25 changed files with 3 additions and 3 deletions

2
.gitignore vendored
View File

@ -1,3 +1,3 @@
venv venv
.idea .idea
/torch_sub/test/clients.json /test/clients.json

View File

@ -12,12 +12,12 @@ from torch_sub import torch_sub
broker_hostname = "mqtt.example.com" broker_hostname = "mqtt.example.com"
broker_port = 8883 broker_port = 8883
agent_config_path = "agent-config/" agent_config_path = "test/agent-config/"
mqtt_ca_file = agent_config_path + "ca.crt" mqtt_ca_file = agent_config_path + "ca.crt"
mqtt_cert_file = agent_config_path + "vagrant.crt" mqtt_cert_file = agent_config_path + "vagrant.crt"
mqtt_key_file = agent_config_path + "vagrant.key" mqtt_key_file = agent_config_path + "vagrant.key"
subscriber_config_path = "subscriber-config/" subscriber_config_path = "test/subscriber-config/"
subscriber_ca_file = subscriber_config_path + "ca.crt" subscriber_ca_file = subscriber_config_path + "ca.crt"
subscriber_cert_file = subscriber_config_path + "subscriber.crt" subscriber_cert_file = subscriber_config_path + "subscriber.crt"
subscriber_key_file = subscriber_config_path + "subscriber.key" subscriber_key_file = subscriber_config_path + "subscriber.key"