Correct subprocess call syntax
This commit is contained in:
parent
98df7ce2cb
commit
87b048c21e
1 changed files with 2 additions and 2 deletions
|
|
@ -13,8 +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;"', "test_evennia"])
|
||||
subprocess.call(["mysql", "-u", "root", '-e', '"SHOW TABLE STATUS;"', "evennia"])
|
||||
subprocess.call(["mysql", "-u", "root", '-e', '"SHOW TABLE STATUS;"', "test_evennia"])
|
||||
|
||||
|
||||
@patch("evennia.server.server.LoopingCall", new=MagicMock())
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue