Revert "Merge pull request 'Dev' (#58) from Dev into production"
This reverts commit821e96e011, reversing changes made to0ff39e9e58.
This commit is contained in:
@@ -38,8 +38,7 @@ DEFAULTS = {
|
||||
"api": "http://localhost:5224/api/v1",
|
||||
"auth": "http://localhost:5602",
|
||||
"user": "admin@gmail.com",
|
||||
# Deliberately no default: credentials never live in the repo (docs/40-DEPLOYMENT.md §5).
|
||||
"password": None,
|
||||
"password": "Naveen@99",
|
||||
}
|
||||
|
||||
|
||||
@@ -47,10 +46,7 @@ def parse_args(description: str) -> argparse.Namespace:
|
||||
p = argparse.ArgumentParser(description=description)
|
||||
for key, default in DEFAULTS.items():
|
||||
p.add_argument(f"--{key}", default=os.environ.get(f"ERP_SMOKE_{key.upper()}", default))
|
||||
args = p.parse_args()
|
||||
if not args.password:
|
||||
p.error("no password given: set ERP_SMOKE_PASSWORD or pass --password")
|
||||
return args
|
||||
return p.parse_args()
|
||||
|
||||
|
||||
class Response:
|
||||
|
||||
Reference in New Issue
Block a user