2
0
mirror of https://github.com/frappe/bench.git synced 2024-06-27 11:43:29 +00:00

test: Update env test

Env folder's include may be empty or non existent
This commit is contained in:
Gavin D'souza 2021-04-23 19:14:30 +05:30
parent 530a980ef7
commit 7e1db3fd74

View File

@ -44,7 +44,7 @@ class TestBenchBase(unittest.TestCase):
bench_path = os.path.abspath(bench_name)
python_path = os.path.abspath(os.path.join(bench_path, "env", "bin", "python"))
self.assertTrue(python_path.startswith(bench_path))
for subdir in ("bin", "include", "lib", "share"):
for subdir in ("bin", "lib", "share"):
self.assert_exists(bench_name, "env", subdir)
def assert_config(self, bench_name):