'Test build command env vars'

def test_command_env(self):

    env = {'FOOBAR': 'foobar', 'BIN_PATH': 'foobar'}
    cmd = BuildCommand('echo', environment=env)
    for key in list(env.keys()):
        self.assertEqual(cmd.environment[key], env[key])
