Skip to content

Commit 4f0030e

Browse files
wip
1 parent 9858da2 commit 4f0030e

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

unittests/test_jira_import_and_pushing_api.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -50,12 +50,12 @@ def __init__(self, *args, **kwargs):
5050
DojoVCRAPITestCase.__init__(self, *args, **kwargs)
5151

5252
def assert_cassette_played(self):
53-
if False: # set to True when committing. set to False when recording new test cassettes
53+
if True: # set to True when committing. set to False when recording new test cassettes
5454
self.assertTrue(self.cassette.all_played)
5555

5656
def _get_vcr(self, **kwargs):
5757
my_vcr = super()._get_vcr(**kwargs)
58-
my_vcr.record_mode = "all"
58+
my_vcr.record_mode = "once"
5959
my_vcr.path_transformer = VCR.ensure_suffix(".yaml")
6060
my_vcr.filter_headers = ["Authorization", "X-Atlassian-Token"]
6161
my_vcr.cassette_library_dir = str(get_unit_tests_path() / "vcr" / "jira")

0 commit comments

Comments
 (0)