Compare commits
2 Commits
v0.4.3
...
0a54012cf5
Author | SHA1 | Date | |
---|---|---|---|
0a54012cf5 | |||
021ec52e3d |
@ -12,12 +12,13 @@ before_install:
|
|||||||
- sudo apt-get install -y checkinstall build-essential
|
- sudo apt-get install -y checkinstall build-essential
|
||||||
- sudo apt-get install portaudio19-dev
|
- sudo apt-get install portaudio19-dev
|
||||||
- sudo apt-get install libsecret-1-dev
|
- sudo apt-get install libsecret-1-dev
|
||||||
|
|
||||||
- sudo apt-get install libconfig-dev libvpx-dev check -qq
|
- sudo apt-get install libconfig-dev libvpx-dev check -qq
|
||||||
install:
|
install:
|
||||||
- pip install sip
|
- pip3 install sip
|
||||||
- pip install pyqt5
|
- pip3 install pyaudio
|
||||||
- pip install pyaudio
|
- pip3 install pyqt5==5.14
|
||||||
- pip install opencv-python
|
- pip3 install opencv-python
|
||||||
before_script:
|
before_script:
|
||||||
# Opus
|
# Opus
|
||||||
- wget http://downloads.xiph.org/releases/opus/opus-1.0.3.tar.gz
|
- wget http://downloads.xiph.org/releases/opus/opus-1.0.3.tar.gz
|
||||||
|
@ -36,21 +36,6 @@ class TestProfileHelper:
|
|||||||
assert os.path.exists(path + 'avatars/')
|
assert os.path.exists(path + 'avatars/')
|
||||||
|
|
||||||
|
|
||||||
class TestDNS:
|
|
||||||
|
|
||||||
def test_dns(self):
|
|
||||||
Settings._instance = Settings.get_default_settings()
|
|
||||||
bot_id = '56A1ADE4B65B86BCD51CC73E2CD4E542179F47959FE3E0E21B4B0ACDADE51855D34D34D37CB5'
|
|
||||||
tox_id = tox_dns('groupbot@toxme.io')
|
|
||||||
assert tox_id == bot_id
|
|
||||||
|
|
||||||
def test_dns2(self):
|
|
||||||
Settings._instance = Settings.get_default_settings()
|
|
||||||
bot_id = '76518406F6A9F2217E8DC487CC783C25CC16A15EB36FF32E335A235342C48A39218F515C39A6'
|
|
||||||
tox_id = tox_dns('echobot@toxme.io')
|
|
||||||
assert tox_id == bot_id
|
|
||||||
|
|
||||||
|
|
||||||
class TestEncryption:
|
class TestEncryption:
|
||||||
|
|
||||||
def test_encr_decr(self):
|
def test_encr_decr(self):
|
||||||
|
@ -951,7 +951,9 @@ class Profile(basecontact.BaseContact, Singleton):
|
|||||||
file_number)
|
file_number)
|
||||||
|
|
||||||
elif auto:
|
elif auto:
|
||||||
path = settings['auto_accept_path'] or curr_directory()
|
path = settings['auto_accept_path']
|
||||||
|
if not path or not os.path.exists(path):
|
||||||
|
path = curr_directory()
|
||||||
self.accept_transfer(None, path + '/' + file_name, friend_number, file_number, size)
|
self.accept_transfer(None, path + '/' + file_name, friend_number, file_number, size)
|
||||||
tm = TransferMessage(MESSAGE_OWNER['FRIEND'],
|
tm = TransferMessage(MESSAGE_OWNER['FRIEND'],
|
||||||
time.time(),
|
time.time(),
|
||||||
|
@ -5,7 +5,7 @@ import sys
|
|||||||
import re
|
import re
|
||||||
|
|
||||||
|
|
||||||
program_version = '0.4.3'
|
program_version = '0.4.4'
|
||||||
|
|
||||||
|
|
||||||
def cached(func):
|
def cached(func):
|
||||||
|
Reference in New Issue
Block a user