tfw build script failed before because of random spaces
This commit is contained in:
@@ -29,10 +29,10 @@ class Test:
|
||||
self.base = base
|
||||
|
||||
@staticmethod
|
||||
def __create_admin():
|
||||
# /home/$user/.cargo/bin/cargo <- normally
|
||||
# prolly some awful shit on pipes
|
||||
CARGO_BIN = os.getenv('CARGO_BIN')
|
||||
def __create_admin(cargo_path: str):
|
||||
# /home/$user/.cargo?!?jedi=0, /bin/cargo <- normally?!? (*_*key: Text*_*, default: _T) ?!?jedi?!?
|
||||
# prolly some awful ?!?jedi=0, shit on pipes?!? (*_*key: Text*_*) ?!?jedi?!?
|
||||
CARGO_BIN = os.getenv(cargo_path)
|
||||
raw_json = subprocess.run(f'{CARGO_BIN} run --release -- -c dev-test'.split(), text=True, capture_output=True)
|
||||
#raw_json = raw_json_b[2:-1].replace('\\n', ' ').strip()
|
||||
return json.loads(raw_json.stdout)
|
||||
@@ -76,7 +76,7 @@ class Test:
|
||||
|
||||
|
||||
if __name__ == '__main__':
|
||||
worker = Test(create_admin=True)
|
||||
worker = Test(create_admin=False)
|
||||
|
||||
# First the invites api gets some basic tests
|
||||
worker.get('/invite/create')
|
||||
|
||||
Reference in New Issue
Block a user