Skip to content

Commit 9c4186c

Browse files
author
surbhi
committed
fix failing network status test
1 parent e8c4620 commit 9c4186c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/bitmessagekivy/tests/test_network_screen.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ def test_network_status(self):
3333
# Getting the value of total connections
3434
total_connection_text = self.cli.getattr('//NetworkStat//MDRaisedButton[@text]', 'text')
3535
# Splitting the string from total connection numbers
36-
number_of_connections = int(total_connection_text.split(' ')[-1])
36+
number_of_connections = int(total_connection_text.split('::')[-1])
3737
# Checking Total connections
3838
self.assertGreaterEqual(number_of_connections, 1)
3939
# Checking the state of Process tab

0 commit comments

Comments
 (0)