Skip to content

Commit

Permalink
Fix TUI packing issue
Browse files Browse the repository at this point in the history
  • Loading branch information
sampot committed Nov 13, 2015
1 parent 69ade2e commit 3248a77
Show file tree
Hide file tree
Showing 4 changed files with 17 additions and 4 deletions.
2 changes: 1 addition & 1 deletion pack/avame-tui.spec
Expand Up @@ -72,7 +72,7 @@ a = Analysis([script],
hookspath=None,
runtime_hooks=None,
excludes=['PySide.QtNetwork', 'PyQt4', 'Tkinter',
'ttk', 'wx', 'avashell'])
'ttk', 'wx',])

pyz = PYZ(a.pure)

Expand Down
3 changes: 3 additions & 0 deletions src/ava/exports.py
Expand Up @@ -64,3 +64,6 @@

# Avame
import avame

import avashell.tui.shell

6 changes: 3 additions & 3 deletions src/ava/util/crypto.py
Expand Up @@ -24,7 +24,7 @@
def generate_keypair(sk=None):
"""
Generate a random key pair.
:return:
:return: the (public key, secret key) tuple
"""
if sk:
keypair = libnacl.public.SecretKey(sk=sk)
Expand Down Expand Up @@ -89,9 +89,9 @@ def xid_to_key(xid):

def validate_xid(addr):
"""
Check if the provided address is valid or not.
Check if the provided XID is valid or not.
:param addr: address in base58 string.
:param addr: XID in base58 string.
:return:
"""
val = base58.b58decode(addr)
Expand Down
10 changes: 10 additions & 0 deletions tests/functional/webpages.py
Expand Up @@ -28,6 +28,16 @@ def browser(request):

if browser_type == 'PhantomJS':
b = webdriver.PhantomJS()
if browser_type == 'Chrome':
b = webdriver.Chrome()
elif browser_type == 'Opera':
b = webdriver.Opera()
elif browser_type == 'IE':
b = webdriver.Ie()
elif browser_type == 'Safari':
b = webdriver.Safari()
elif browser_type == 'Remote':
b = webdriver.Remote()
else:
b = webdriver.Firefox()

Expand Down

0 comments on commit 3248a77

Please sign in to comment.