Skip to content

Commit

Permalink
Move GUI addressbook test to bitmessageqt.tests
Browse files Browse the repository at this point in the history
  • Loading branch information
g1itch committed Feb 7, 2021
1 parent a7934f3 commit 6251199
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 10 deletions.
3 changes: 2 additions & 1 deletion src/bitmessageqt/tests/__init__.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
"""bitmessageqt tests"""

from addressbook import TestAddressbook
from main import TestMain, TestUISignaler
from support import TestSupport

__all__ = ["TestMain", "TestSupport", "TestUISignaler"]
__all__ = ["TestAddressbook", "TestMain", "TestSupport", "TestUISignaler"]
File renamed without changes.
9 changes: 0 additions & 9 deletions src/tests/core.py
Original file line number Diff line number Diff line change
Expand Up @@ -343,15 +343,6 @@ def test_is_address_present_in_addressbook(self):
self.assertEqual(queryreturn[0][0], 1)
self.delete_address_from_addressbook(self.addr)

def test_is_own_address_add_to_addressbook(self):
"""Checking own address adding in addressbook"""
from helper_addressGenerator import createAddressIfNeeded
try:
address = createAddressIfNeeded('test1')
self.assertFalse(helper_addressbook.insert(label='test', address=address))
except IndexError:
self.fail("Can't generate addresses")

def test_adding_two_same_case_sensitive_addresses(self):
"""Testing same case sensitive address store in addressbook"""
address1 = 'BM-2cVWtdUzPwF7UNGDrZftWuHWiJ6xxBpiSP'
Expand Down

0 comments on commit 6251199

Please sign in to comment.