From 19e4078a7c20b46adaede25686a12435268d15e0 Mon Sep 17 00:00:00 2001 From: Jude Nelson Date: Tue, 25 Oct 2016 19:56:53 -0400 Subject: [PATCH] record where we expect SNV to fail --- .../scenarios/name_import_expire_isdead.py | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/integration_tests/blockstack_integration_tests/scenarios/name_import_expire_isdead.py b/integration_tests/blockstack_integration_tests/scenarios/name_import_expire_isdead.py index 9e4998db6..9375c3a8e 100644 --- a/integration_tests/blockstack_integration_tests/scenarios/name_import_expire_isdead.py +++ b/integration_tests/blockstack_integration_tests/scenarios/name_import_expire_isdead.py @@ -49,6 +49,7 @@ import_block = None fail_blocks = [] NAMESPACE_LIFETIME_MULTIPLIER = blockstack_server.get_epoch_namespace_lifetime_multiplier( blockstack_server.EPOCH_1_END_BLOCK + 1, "test" ) +# TODO: SNV expect failure def scenario( wallets, **kw ): global import_block @@ -92,6 +93,7 @@ def scenario( wallets, **kw ): testlib.next_block( **kw ) fail_blocks.append( testlib.get_current_block( **kw ) ) + testlib.expect_snv_fail_at( "foo.test", testlib.get_current_block(**kw)) # should fail resp = testlib.blockstack_name_transfer( "foo.test", wallets[4].addr, True, wallets[3].privkey, safety_checks=False ) @@ -100,6 +102,7 @@ def scenario( wallets, **kw ): testlib.next_block( **kw ) fail_blocks.append( testlib.get_current_block( **kw ) ) + testlib.expect_snv_fail_at( "foo.test", testlib.get_current_block(**kw)) # should fail resp = testlib.blockstack_name_renew( "foo.test", wallets[3].privkey, safety_checks=False ) @@ -108,6 +111,7 @@ def scenario( wallets, **kw ): testlib.next_block( **kw ) fail_blocks.append( testlib.get_current_block( **kw ) ) + testlib.expect_snv_fail_at( "foo.test", testlib.get_current_block(**kw)) # should fail resp = testlib.blockstack_name_revoke( "foo.test", wallets[3].privkey, safety_checks=False ) @@ -116,6 +120,7 @@ def scenario( wallets, **kw ): testlib.next_block( **kw ) fail_blocks.append( testlib.get_current_block( **kw )) + testlib.expect_snv_fail_at( "foo.test", testlib.get_current_block(**kw)) def check( state_engine ):