Skip to content

Commit 4860500

Browse files
committed
Add decorator to bitswap tests to skip if ipfs daemon is offline
1 parent cad16cf commit 4860500

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/functional/tests.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -492,7 +492,7 @@ def test_object_patch_set_data(self):
492492
self.assertEqual(result,
493493
{'Hash': 'QmV4QR7MCBj5VTi6ddHmXPyjWGzbaKEtX2mx7axA5PA13G'})
494494

495-
495+
@skipIfOffline()
496496
class IpfsApiBitswapTest(unittest.TestCase):
497497

498498
def setUp(self):

0 commit comments

Comments
 (0)