mirror of
https://github.com/pgadmin-org/pgadmin4.git
synced 2025-02-09 23:15:58 -06:00
Ensure that the directory paths are as they should be under the runtime. Note that this change requires (for now) the regression tests to be run from the web/regression directory.
This commit is contained in:
parent
e06fd21f3c
commit
7175929cab
@ -108,14 +108,17 @@ Execution:
|
||||
and registered automatically by its module name in
|
||||
'pgadmin4/web/pgadmin/utils/test.py' file.
|
||||
|
||||
- Change to the regression test directory:
|
||||
run 'cd web/regression'
|
||||
|
||||
- Execute the test framework for all nodes
|
||||
run 'regression/runtests.py --pkg all' or just:
|
||||
'regression/runtests.py'
|
||||
run 'python runtests.py --pkg all' or just:
|
||||
'python runtests.py'
|
||||
|
||||
- Execute test framework for single node at a time
|
||||
|
||||
Example 1) Run test framework for 'browser' node
|
||||
run 'regression/runtests.py --pkg browser'
|
||||
run 'python runtests.py --pkg browser'
|
||||
|
||||
Example 2) Run test framework for 'database' node
|
||||
run 'regression/runtests.py --pkg browser.server_groups.servers.databases'
|
||||
run 'python runtests.py --pkg browser.server_groups.servers.databases'
|
||||
|
@ -360,7 +360,7 @@ if __name__ == '__main__':
|
||||
print("======================================\n")
|
||||
|
||||
local_config = os.path.join(
|
||||
os.path.dirname(os.path.dirname(__file__)),
|
||||
os.path.dirname(os.path.realpath(__file__)),
|
||||
'config_local.py'
|
||||
)
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user