def test_activateBelt(self):
     response = CBSController().activateBelt()
     self.assertEqual(response, 'No Belt to Activate')
 def test_routeBags(self):
     response = CBSController().routeBags()
     self.assertEqual(response, 'No Bags In The System')
 def test_deactivateJammedBelt(self):
     response = CBSController().deactivateJammedBelt()
     self.assertEqual(response, 'No Jammed Belt to Deactivate')
Example #4
0
 def jammed(self):
     response = CBSController().jammed()
     return jsonify(response)
Example #5
0
 def routeBags(self):
     response = CBSController().routeBags()
     return jsonify(response)
Example #6
0
 def activateBelt(self):
     response = CBSController().activateBelt()
     return jsonify(response)
Example #7
0
 def deactivateJammedBelt(self):
     response = CBSController().deactivateJammedBelt()
     return jsonify(response)