import unittest import subprocess import json import os import util import time from TestConfig import * config = {} test_env = os.getenv('test_env', 'aiaas') env_setup = TestConfig() config = env_setup.setEnvironment(test_env) cli = os.path.abspath('./pb-cli/index.js') class TestPBRemove(unittest.TestCase): @classmethod def setUpClass(self): self.util = util.TestUtil() self.util.announce_test_block('pb remove') self.hostname = config["hostname"] print self.hostname def setUp(self): self.util.create_and_compile() def test_remove_aiml_file(self): self.util.it('removes an aiml file from the bot.') bot_files = self.util.get_file_list()