Skip to content
GitLab
Explore
Sign in
Register
Commits on Source (2)
Fix tests
· 06b8eb58
André
authored
Jan 17, 2018
06b8eb58
Merge branch 'fixTest' into 'master'
· 1605b722
Philipp Hörist
authored
Jan 19, 2018
Fix tests See merge request
!192
1605b722
Hide whitespace changes
Inline
Side-by-side
gajim/common/caps_cache.py
View file @
1605b722
...
...
@@ -46,7 +46,7 @@
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 @@ def append(self, stanza):
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
...
...
setup.py
View file @
1605b722
...
...
@@ -14,6 +14,8 @@
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 @@ def finalize_options(self):
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
):
...
...