mirror of
https://github.com/evennia/evennia.git
synced 2026-04-01 21:47:17 +02:00
Yet another try at formatting subprocess call
This commit is contained in:
parent
6ddaa2ba9c
commit
d7261bdb17
1 changed files with 2 additions and 1 deletions
|
|
@ -13,7 +13,8 @@ class TestDatabase(TestCase):
|
|||
def test_database(self):
|
||||
|
||||
import subprocess
|
||||
subprocess.call(["mysql", "-u", "root", '-e "SHOW TABLE STATUS;"', "evennia"])
|
||||
# subprocess.call(["mysql", "-u", "root", '-e "SHOW TABLE STATUS;"', "evennia"], shell=True)
|
||||
subprocess.call("mysql -u root -e \"SHOW TABLE STATUS;\" evennia", shell=True)
|
||||
|
||||
|
||||
@patch("evennia.server.server.LoopingCall", new=MagicMock())
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue