Skip to content
Snippets Groups Projects
Commit 06b8eb58 authored by André's avatar André
Browse files

Fix tests

parent 513bffd4
No related branches found
No related tags found
No related merge requests found
......@@ -46,7 +46,7 @@ from nbxmpp import (NS_XHTML_IM, NS_ESESSION, NS_CHATSTATES,
FEATURE_BLACKLIST = [NS_CHATSTATES, NS_XHTML_IM, NS_ESESSION,
NS_JINGLE_ICE_UDP, NS_JINGLE_RTP_AUDIO, NS_JINGLE_RTP_VIDEO,
NS_JINGLE_FILE_TRANSFER_5]
from gajim.common import app
# Query entry status codes
NEW = 0
QUERIED = 1
......@@ -457,6 +457,7 @@ class MucCapsCache:
identities, features, data = [], [], []
query_childs = stanza.getQueryChildren()
if not query_childs:
from gajim.common import app
app.log('gajim.muc').warning('%s returned empty disco info', jid)
return
......
......@@ -14,6 +14,8 @@ from setuptools.command.build_py import build_py as _build
from distutils import log
from distutils.util import convert_path, newer
import subprocess
import gajim
pos = [x for x in os.listdir('po') if x[-3:] == ".po"]
......@@ -179,14 +181,14 @@ class test(Command):
pass
def run(self):
os.system("./test/runtests.py")
exit(subprocess.call("./test/runtests.py"))
class test_nogui(test):
description = "Run tests without GUI"
def run(self):
os.system("./test/runtests.py -n")
exit(subprocess.call(["./test/runtests.py", "-n"]))
class update_po(Command):
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment