diff --git a/ycmd/tests/bindings/cpp_bindings_general_test.py b/ycmd/tests/bindings/cpp_bindings_general_test.py index f5b784c287..fea45255b7 100644 --- a/ycmd/tests/bindings/cpp_bindings_general_test.py +++ b/ycmd/tests/bindings/cpp_bindings_general_test.py @@ -486,3 +486,8 @@ def CppBindings_CompilationDatabase_test(): '-I/absolute/path', '-Wall' ) } ) ) + + +def Dummy_test(): + # Workaround for https://github.com/pytest-dev/pytest-rerunfailures/issues/51 + assert True diff --git a/ycmd/tests/bindings/cpp_bindings_raises_exception_test.py b/ycmd/tests/bindings/cpp_bindings_raises_exception_test.py index 2389e2968b..5b8febcf66 100644 --- a/ycmd/tests/bindings/cpp_bindings_raises_exception_test.py +++ b/ycmd/tests/bindings/cpp_bindings_raises_exception_test.py @@ -121,3 +121,8 @@ def CppBindings_CompilationInfo_NoInit_test(): assert_that( calling( ycm_core.CompilationInfoForFile ), raises( TypeError, 'ycm_core.CompilationInfoForFile:' ' No constructor defined!' ) ) + + +def Dummy_test(): + # Workaround for https://github.com/pytest-dev/pytest-rerunfailures/issues/51 + assert True diff --git a/ycmd/tests/bindings/cpp_bindings_vectors_test.py b/ycmd/tests/bindings/cpp_bindings_vectors_test.py index 44fc42e13d..05850d3b7b 100644 --- a/ycmd/tests/bindings/cpp_bindings_vectors_test.py +++ b/ycmd/tests/bindings/cpp_bindings_vectors_test.py @@ -367,3 +367,8 @@ def CppBindings_CompletionDataVector_test(): 'menu_text': 'a' } ) ) ) + + +def Dummy_test(): + # Workaround for https://github.com/pytest-dev/pytest-rerunfailures/issues/51 + assert True diff --git a/ycmd/tests/clang/comment_strip_test.py b/ycmd/tests/clang/comment_strip_test.py index 03e3634afc..0900d5d3a5 100644 --- a/ycmd/tests/clang/comment_strip_test.py +++ b/ycmd/tests/clang/comment_strip_test.py @@ -165,3 +165,8 @@ def ClangCompleter_FormatRawComment_MultiLine_empty_test(): """ ) # noqa + + +def Dummy_test(): + # Workaround for https://github.com/pytest-dev/pytest-rerunfailures/issues/51 + assert True diff --git a/ycmd/tests/clang/debug_info_test.py b/ycmd/tests/clang/debug_info_test.py index f852606787..336870b9c4 100644 --- a/ycmd/tests/clang/debug_info_test.py +++ b/ycmd/tests/clang/debug_info_test.py @@ -302,3 +302,8 @@ def DebugInfo_Unity_test( app ): ) } ) ) ) + + +def Dummy_test(): + # Workaround for https://github.com/pytest-dev/pytest-rerunfailures/issues/51 + assert True diff --git a/ycmd/tests/clang/diagnostics_test.py b/ycmd/tests/clang/diagnostics_test.py index bbc5396e11..2de97569fa 100644 --- a/ycmd/tests/clang/diagnostics_test.py +++ b/ycmd/tests/clang/diagnostics_test.py @@ -460,3 +460,8 @@ def Diagnostics_NoLimitToNumberOfDiagnostics_test( app ): 'fixit_available': False } ) ) ) + + +def Dummy_test(): + # Workaround for https://github.com/pytest-dev/pytest-rerunfailures/issues/51 + assert True diff --git a/ycmd/tests/clang/flags_test.py b/ycmd/tests/clang/flags_test.py index d36ed05343..6be2494fa8 100644 --- a/ycmd/tests/clang/flags_test.py +++ b/ycmd/tests/clang/flags_test.py @@ -1591,3 +1591,8 @@ def MakeRelativePathsInFlagsAbsolute_NoWorkingDir_test(): 'expect': [ 'list', 'of', 'flags', 'not', 'changed', '-Itest' ], 'wd': '' } ) + + +def Dummy_test(): + # Workaround for https://github.com/pytest-dev/pytest-rerunfailures/issues/51 + assert True diff --git a/ycmd/tests/clang/get_completions_test.py b/ycmd/tests/clang/get_completions_test.py index a8bf1e8c88..5b6027cfb7 100644 --- a/ycmd/tests/clang/get_completions_test.py +++ b/ycmd/tests/clang/get_completions_test.py @@ -1561,3 +1561,8 @@ def GetCompletions_FixIt_test( app ): } ) } } ) + + +def Dummy_test(): + # Workaround for https://github.com/pytest-dev/pytest-rerunfailures/issues/51 + assert True diff --git a/ycmd/tests/clang/include_cache_test.py b/ycmd/tests/clang/include_cache_test.py index 106bee4d9e..fd3e394c32 100644 --- a/ycmd/tests/clang/include_cache_test.py +++ b/ycmd/tests/clang/include_cache_test.py @@ -151,3 +151,8 @@ def IncludeCache_Cached_NewMtime_test(): 'entry_type': 1 } ) ) } ) ) ) + + +def Dummy_test(): + # Workaround for https://github.com/pytest-dev/pytest-rerunfailures/issues/51 + assert True diff --git a/ycmd/tests/clang/signature_help_test.py b/ycmd/tests/clang/signature_help_test.py index e1a1c2975b..03d0793b3c 100644 --- a/ycmd/tests/clang/signature_help_test.py +++ b/ycmd/tests/clang/signature_help_test.py @@ -65,3 +65,8 @@ def SignatureHelp_NotImplemented_test( app ): 'errors': empty(), 'signature_help': EMPTY_SIGNATURE_HELP } ) ) + + +def Dummy_test(): + # Workaround for https://github.com/pytest-dev/pytest-rerunfailures/issues/51 + assert True diff --git a/ycmd/tests/clang/subcommands_test.py b/ycmd/tests/clang/subcommands_test.py index 3bff21dae8..09884c3206 100644 --- a/ycmd/tests/clang/subcommands_test.py +++ b/ycmd/tests/clang/subcommands_test.py @@ -1633,3 +1633,8 @@ def Subcommands_StillParsingError_test( app ): Subcommands_StillParsingError( app, 'GoToDeclaration' ) Subcommands_StillParsingError( app, 'GoToDefinition' ) Subcommands_StillParsingError( app, 'GoToImprecise' ) + + +def Dummy_test(): + # Workaround for https://github.com/pytest-dev/pytest-rerunfailures/issues/51 + assert True diff --git a/ycmd/tests/clangd/debug_info_test.py b/ycmd/tests/clangd/debug_info_test.py index 27786fe904..0189d1958a 100644 --- a/ycmd/tests/clangd/debug_info_test.py +++ b/ycmd/tests/clangd/debug_info_test.py @@ -467,3 +467,8 @@ def DebugInfo_ExtraConf_MacIncludeFlags_test( app ): 'items': empty() } ) ) ) + + +def Dummy_test(): + # Workaround for https://github.com/pytest-dev/pytest-rerunfailures/issues/51 + assert True diff --git a/ycmd/tests/clangd/diagnostics_test.py b/ycmd/tests/clangd/diagnostics_test.py index f19601c550..3cf14c2371 100644 --- a/ycmd/tests/clangd/diagnostics_test.py +++ b/ycmd/tests/clangd/diagnostics_test.py @@ -543,3 +543,8 @@ def Diagnostics_UpdatedOnBufferVisit_test( app ): # Assert no dirty files with open( header_file, 'r' ) as f: assert_that( f.read(), equal_to( old_header_content ) ) + + +def Dummy_test(): + # Workaround for https://github.com/pytest-dev/pytest-rerunfailures/issues/51 + assert True diff --git a/ycmd/tests/clangd/get_completions_test.py b/ycmd/tests/clangd/get_completions_test.py index d925b34a48..f41b77353d 100644 --- a/ycmd/tests/clangd/get_completions_test.py +++ b/ycmd/tests/clangd/get_completions_test.py @@ -903,3 +903,8 @@ def GetCompletions_SupportExtraConf_test( app ): } ) } } ) + + +def Dummy_test(): + # Workaround for https://github.com/pytest-dev/pytest-rerunfailures/issues/51 + assert True diff --git a/ycmd/tests/clangd/server_management_test.py b/ycmd/tests/clangd/server_management_test.py index 2e007d82cf..c4ac57ba0b 100644 --- a/ycmd/tests/clangd/server_management_test.py +++ b/ycmd/tests/clangd/server_management_test.py @@ -171,3 +171,8 @@ def ServerManagement_RestartServer_test( app ): } ) ) } ) ) ) + + +def Dummy_test(): + # Workaround for https://github.com/pytest-dev/pytest-rerunfailures/issues/51 + assert True diff --git a/ycmd/tests/clangd/signature_help_test.py b/ycmd/tests/clangd/signature_help_test.py index f76904b28f..de718d0ed3 100644 --- a/ycmd/tests/clangd/signature_help_test.py +++ b/ycmd/tests/clangd/signature_help_test.py @@ -635,3 +635,8 @@ def Signature_Help_Available_Disabled_By_User_test( app, *args ): response = app.get( '/signature_help_available', { 'subserver': 'cpp' } ).json assert_that( response, SignatureAvailableMatcher( 'NO' ) ) + + +def Dummy_test(): + # Workaround for https://github.com/pytest-dev/pytest-rerunfailures/issues/51 + assert True diff --git a/ycmd/tests/clangd/subcommands_test.py b/ycmd/tests/clangd/subcommands_test.py index cea8e03c0c..6d4cb76a27 100644 --- a/ycmd/tests/clangd/subcommands_test.py +++ b/ycmd/tests/clangd/subcommands_test.py @@ -1138,3 +1138,8 @@ def Subcommands_RefactorRename_test( app ): 'route': '/run_completer_command' } RunAfterInitialized( app, test ) + + +def Dummy_test(): + # Workaround for https://github.com/pytest-dev/pytest-rerunfailures/issues/51 + assert True diff --git a/ycmd/tests/clangd/utilities_test.py b/ycmd/tests/clangd/utilities_test.py index d968c85521..11ba807eca 100644 --- a/ycmd/tests/clangd/utilities_test.py +++ b/ycmd/tests/clangd/utilities_test.py @@ -241,3 +241,8 @@ def ClangdCompleter_StartServer_Fails_test( app ): ) ) assert_that( resp.status_code, equal_to( 200 ) ) shutdown.assert_called() + + +def Dummy_test(): + # Workaround for https://github.com/pytest-dev/pytest-rerunfailures/issues/51 + assert True diff --git a/ycmd/tests/client_test.py b/ycmd/tests/client_test.py index a523140a45..7e44920d48 100644 --- a/ycmd/tests/client_test.py +++ b/ycmd/tests/client_test.py @@ -253,3 +253,8 @@ def Wrapper( self, *args ): sys.stdout.write( '\n' ) return Wrapper + + +def Dummy_test(): + # Workaround for https://github.com/pytest-dev/pytest-rerunfailures/issues/51 + assert True diff --git a/ycmd/tests/completer_test.py b/ycmd/tests/completer_test.py index 9eebf015ad..add45506e9 100644 --- a/ycmd/tests/completer_test.py +++ b/ycmd/tests/completer_test.py @@ -74,3 +74,8 @@ def FilterAndSortCandidates_Unicode_test(): def DefinedSubcommands_RemoveStopServerSubcommand_test( subcommands_map ): completer = DummyCompleter( DefaultOptions() ) assert_that( completer.DefinedSubcommands(), contains_exactly( 'Foo' ) ) + + +def Dummy_test(): + # Workaround for https://github.com/pytest-dev/pytest-rerunfailures/issues/51 + assert True diff --git a/ycmd/tests/completer_utils_test.py b/ycmd/tests/completer_utils_test.py index af821f4697..d1982a56f1 100644 --- a/ycmd/tests/completer_utils_test.py +++ b/ycmd/tests/completer_utils_test.py @@ -236,3 +236,8 @@ def PreparedTriggers_ObjectiveC_test(): 'objc' ) ) assert_that( not triggers.MatchesForFiletype( '// foo ', 8, 8, 'objc' ) ) + + +def Dummy_test(): + # Workaround for https://github.com/pytest-dev/pytest-rerunfailures/issues/51 + assert True diff --git a/ycmd/tests/cs/debug_info_test.py b/ycmd/tests/cs/debug_info_test.py index 248e6f8e6e..14f9137666 100644 --- a/ycmd/tests/cs/debug_info_test.py +++ b/ycmd/tests/cs/debug_info_test.py @@ -208,3 +208,8 @@ def GetCompleter_CustomPathToServer_NotAFile_test( *args ): user_options = user_options_store.GetAll().copy( roslyn_binary_path = 'does-not-exist' ) assert_that( not GetCompleter( user_options ) ) + + +def Dummy_test(): + # Workaround for https://github.com/pytest-dev/pytest-rerunfailures/issues/51 + assert True diff --git a/ycmd/tests/cs/diagnostics_test.py b/ycmd/tests/cs/diagnostics_test.py index 4613cc65f2..f8f4857224 100644 --- a/ycmd/tests/cs/diagnostics_test.py +++ b/ycmd/tests/cs/diagnostics_test.py @@ -159,3 +159,8 @@ def Diagnostics_MaximumDiagnosticsNumberExceeded_test( app ): ) } ) ) ) + + +def Dummy_test(): + # Workaround for https://github.com/pytest-dev/pytest-rerunfailures/issues/51 + assert True diff --git a/ycmd/tests/cs/get_completions_test.py b/ycmd/tests/cs/get_completions_test.py index 52d15b2f9f..faea241116 100644 --- a/ycmd/tests/cs/get_completions_test.py +++ b/ycmd/tests/cs/get_completions_test.py @@ -189,3 +189,8 @@ def GetCompletions_DoesntStartWithAmbiguousMultipleSolutions_test( app ): "suitable solution file to feed it. Did you fiddle with the solution " "finding code in cs_completer.py? Hopefully you've enhanced it: you need " "to update this test then :)" ) + + +def Dummy_test(): + # Workaround for https://github.com/pytest-dev/pytest-rerunfailures/issues/51 + assert True diff --git a/ycmd/tests/cs/signature_help_test.py b/ycmd/tests/cs/signature_help_test.py index 41f457e55b..f02546ae7d 100644 --- a/ycmd/tests/cs/signature_help_test.py +++ b/ycmd/tests/cs/signature_help_test.py @@ -223,3 +223,8 @@ def GetCompletions_Basic_NoSigHelp_test( app ): ), 'errors': empty(), } ) ) + + +def Dummy_test(): + # Workaround for https://github.com/pytest-dev/pytest-rerunfailures/issues/51 + assert True diff --git a/ycmd/tests/cs/subcommands_test.py b/ycmd/tests/cs/subcommands_test.py index 54f0a5dc86..25d87f2d14 100644 --- a/ycmd/tests/cs/subcommands_test.py +++ b/ycmd/tests/cs/subcommands_test.py @@ -865,3 +865,8 @@ def Subcommands_RangeFormat_Works_test( app ): LocationMatcher( filepath, 9, 4 ) ), ) } ) ) } ) ) + + +def Dummy_test(): + # Workaround for https://github.com/pytest-dev/pytest-rerunfailures/issues/51 + assert True diff --git a/ycmd/tests/diagnostics_test.py b/ycmd/tests/diagnostics_test.py index c0a1001f42..3c34400ca7 100644 --- a/ycmd/tests/diagnostics_test.py +++ b/ycmd/tests/diagnostics_test.py @@ -51,3 +51,8 @@ def Diagnostics_DoesWork_test( get_detailed_diag, app ): response = app.post_json( '/detailed_diagnostic', diag_data ) assert_that( response.json, MessageMatcher( 'detailed diagnostic' ) ) + + +def Dummy_test(): + # Workaround for https://github.com/pytest-dev/pytest-rerunfailures/issues/51 + assert True diff --git a/ycmd/tests/extra_conf_store_test.py b/ycmd/tests/extra_conf_store_test.py index 75004aa732..ea923808c0 100644 --- a/ycmd/tests/extra_conf_store_test.py +++ b/ycmd/tests/extra_conf_store_test.py @@ -246,3 +246,8 @@ def Load_DoNotReloadExtraConf_ForceEqualsTrue_test( app ): def ExtraConfStore_IsGlobalExtraConfStore_NotAExtraConf_test(): assert_that( calling( extra_conf_store.IsGlobalExtraConfModule ).with_args( extra_conf_store ), raises( AttributeError ) ) + + +def Dummy_test(): + # Workaround for https://github.com/pytest-dev/pytest-rerunfailures/issues/51 + assert True diff --git a/ycmd/tests/filename_completer_test.py b/ycmd/tests/filename_completer_test.py index 4155c02c5e..a541bb5674 100644 --- a/ycmd/tests/filename_completer_test.py +++ b/ycmd/tests/filename_completer_test.py @@ -379,3 +379,8 @@ def FilenameCompleter_AllFiletypesBlacklisted_test( app ): results = app.post_json( '/completions', completion_data ).json[ 'completions' ] assert_that( results, empty() ) + + +def Dummy_test(): + # Workaround for https://github.com/pytest-dev/pytest-rerunfailures/issues/51 + assert True diff --git a/ycmd/tests/get_completions_test.py b/ycmd/tests/get_completions_test.py index 21e52e0170..269aeb74d7 100644 --- a/ycmd/tests/get_completions_test.py +++ b/ycmd/tests/get_completions_test.py @@ -786,3 +786,8 @@ def GetCompletions_FilterThenReturnFromCache_test( candidates_list, CompletionEntryMatcher( 'cbc' ) ) ) assert_that( candidates_list.call_count, equal_to( 1 ) ) + + +def Dummy_test(): + # Workaround for https://github.com/pytest-dev/pytest-rerunfailures/issues/51 + assert True diff --git a/ycmd/tests/go/debug_info_test.py b/ycmd/tests/go/debug_info_test.py index 14236bd0f6..71950e4b4a 100644 --- a/ycmd/tests/go/debug_info_test.py +++ b/ycmd/tests/go/debug_info_test.py @@ -102,3 +102,8 @@ def DebugInfo_ProjectDirectory_test( app ): } ) ), } ) ) ) + + +def Dummy_test(): + # Workaround for https://github.com/pytest-dev/pytest-rerunfailures/issues/51 + assert True diff --git a/ycmd/tests/go/diagnostics_test.py b/ycmd/tests/go/diagnostics_test.py index 782746b6b9..5c815f9dbe 100644 --- a/ycmd/tests/go/diagnostics_test.py +++ b/ycmd/tests/go/diagnostics_test.py @@ -116,3 +116,8 @@ def Diagnostics_Poll_test( app ): 'Timed out waiting for full set of diagnostics. ' f'Expected to see diags for { json.dumps( to_see, indent = 2 ) }, ' f'but only saw { json.dumps( sorted( seen.keys() ), indent = 2 ) }.' ) + + +def Dummy_test(): + # Workaround for https://github.com/pytest-dev/pytest-rerunfailures/issues/51 + assert True diff --git a/ycmd/tests/go/get_completions_test.py b/ycmd/tests/go/get_completions_test.py index dc25e201b1..f8a79440ad 100644 --- a/ycmd/tests/go/get_completions_test.py +++ b/ycmd/tests/go/get_completions_test.py @@ -73,3 +73,8 @@ def GetCompletions_Basic_test( app ): # This completer does not require or support resolve assert_that( results[ 0 ], is_not( has_key( 'resolve' ) ) ) assert_that( results[ 0 ], is_not( has_key( 'item' ) ) ) + + +def Dummy_test(): + # Workaround for https://github.com/pytest-dev/pytest-rerunfailures/issues/51 + assert True diff --git a/ycmd/tests/go/go_completer_test.py b/ycmd/tests/go/go_completer_test.py index 971aaf89c1..c934e12b44 100644 --- a/ycmd/tests/go/go_completer_test.py +++ b/ycmd/tests/go/go_completer_test.py @@ -37,3 +37,8 @@ def GetCompleter_GoplsNotFound_test( *args ): def GetCompleter_GoplsFromUserOption_test( *args ): user_options = user_options_store.GetAll().copy( gopls_binary_path = 'gopls' ) assert_that( GetCompleter( user_options )._gopls_path, equal_to( 'gopls' ) ) + + +def Dummy_test(): + # Workaround for https://github.com/pytest-dev/pytest-rerunfailures/issues/51 + assert True diff --git a/ycmd/tests/go/server_management_test.py b/ycmd/tests/go/server_management_test.py index 9c80b5f212..0e7c9a980e 100644 --- a/ycmd/tests/go/server_management_test.py +++ b/ycmd/tests/go/server_management_test.py @@ -134,3 +134,8 @@ def ServerManagement_StartServer_Fails_test( app ): has_entry( 'is_running', False ) ) ) ) ) + + +def Dummy_test(): + # Workaround for https://github.com/pytest-dev/pytest-rerunfailures/issues/51 + assert True diff --git a/ycmd/tests/go/signature_help_test.py b/ycmd/tests/go/signature_help_test.py index 7ee8aa43bf..f46db721e3 100644 --- a/ycmd/tests/go/signature_help_test.py +++ b/ycmd/tests/go/signature_help_test.py @@ -160,3 +160,8 @@ def Signature_Help_Available_test( app ): response = app.get( '/signature_help_available', { 'subserver': 'go' } ).json assert_that( response, SignatureAvailableMatcher( 'YES' ) ) + + +def Dummy_test(): + # Workaround for https://github.com/pytest-dev/pytest-rerunfailures/issues/51 + assert True diff --git a/ycmd/tests/go/subcommands_test.py b/ycmd/tests/go/subcommands_test.py index 24fc751de5..f4cb5e901b 100644 --- a/ycmd/tests/go/subcommands_test.py +++ b/ycmd/tests/go/subcommands_test.py @@ -476,3 +476,8 @@ def Subcommands_GoToReferences_test( app ): test = { 'req': ( filepath, 10, 5 ), 'res': [ ( filepath, 10, 5 ), ( filepath, 13, 5 ) ] } RunGoToTest( app, 'GoToReferences', test ) + + +def Dummy_test(): + # Workaround for https://github.com/pytest-dev/pytest-rerunfailures/issues/51 + assert True diff --git a/ycmd/tests/hmac_utils_test.py b/ycmd/tests/hmac_utils_test.py index b26f2217f7..6d6a7b6d81 100644 --- a/ycmd/tests/hmac_utils_test.py +++ b/ycmd/tests/hmac_utils_test.py @@ -66,3 +66,8 @@ def CreateRequestHmac_WithBytes_test(): bytes( b'key' ) ) ), equal_to( bytes( b'bfbb6bc7a2b3eca2a78f4e7ec8a7dfa7' b'e58bb8974166eaf20e0224d999894b34' ) ) ) + + +def Dummy_test(): + # Workaround for https://github.com/pytest-dev/pytest-rerunfailures/issues/51 + assert True diff --git a/ycmd/tests/identifier_completer_test.py b/ycmd/tests/identifier_completer_test.py index f70fb9ca8e..99eaaf9dd2 100644 --- a/ycmd/tests/identifier_completer_test.py +++ b/ycmd/tests/identifier_completer_test.py @@ -302,3 +302,8 @@ def FilterUnchangedTagFiles_SkipUnchangesFiles_test(): assert_that( list( ident_completer._FilterUnchangedTagFiles( [ tag_file ] ) ), empty() ) + + +def Dummy_test(): + # Workaround for https://github.com/pytest-dev/pytest-rerunfailures/issues/51 + assert True diff --git a/ycmd/tests/identifier_utils_test.py b/ycmd/tests/identifier_utils_test.py index bea253bddc..40727f4d51 100644 --- a/ycmd/tests/identifier_utils_test.py +++ b/ycmd/tests/identifier_utils_test.py @@ -456,3 +456,8 @@ def IdentifierAtIndex_SingleCharIdent_test(): def IdentifierAtIndex_Css_test(): assert_that( 'font-face', equal_to( iu.IdentifierAtIndex( 'font-face', 0, 'css' ) ) ) + + +def Dummy_test(): + # Workaround for https://github.com/pytest-dev/pytest-rerunfailures/issues/51 + assert True diff --git a/ycmd/tests/java/debug_info_test.py b/ycmd/tests/java/debug_info_test.py index ea1d09f7e3..baa2adf65b 100644 --- a/ycmd/tests/java/debug_info_test.py +++ b/ycmd/tests/java/debug_info_test.py @@ -180,3 +180,8 @@ def DebugInfo_ExtraConf_SettingsValid_test( app ): 'servers': contains_exactly( has_entries( { 'name': 'jdt.ls', 'is_running': instance_of( bool ) } ) ) } ) ) ) + + +def Dummy_test(): + # Workaround for https://github.com/pytest-dev/pytest-rerunfailures/issues/51 + assert True diff --git a/ycmd/tests/java/diagnostics_test.py b/ycmd/tests/java/diagnostics_test.py index 37f8e6c7b7..8a9d18a1e1 100644 --- a/ycmd/tests/java/diagnostics_test.py +++ b/ycmd/tests/java/diagnostics_test.py @@ -779,3 +779,8 @@ def AwaitMessages(): message_poll_task.join() assert_that( state[ 'aborted' ] ) + + +def Dummy_test(): + # Workaround for https://github.com/pytest-dev/pytest-rerunfailures/issues/51 + assert True diff --git a/ycmd/tests/java/get_completions_test.py b/ycmd/tests/java/get_completions_test.py index 5e88b3c140..df87c9d34a 100644 --- a/ycmd/tests/java/get_completions_test.py +++ b/ycmd/tests/java/get_completions_test.py @@ -899,3 +899,8 @@ def GetCompletions_UseServerTriggers_test( app ): } ) } } ) + + +def Dummy_test(): + # Workaround for https://github.com/pytest-dev/pytest-rerunfailures/issues/51 + assert True diff --git a/ycmd/tests/java/java_completer_test.py b/ycmd/tests/java/java_completer_test.py index eca4002bac..fcf6cdd868 100644 --- a/ycmd/tests/java/java_completer_test.py +++ b/ycmd/tests/java/java_completer_test.py @@ -234,3 +234,8 @@ def JavaCompleter_GetDoc_test( app ): return_value = False ) def JavaHook_JavaNotEnabled_test( *args ): assert_that( hook.GetCompleter( {} ), equal_to( None ) ) + + +def Dummy_test(): + # Workaround for https://github.com/pytest-dev/pytest-rerunfailures/issues/51 + assert True diff --git a/ycmd/tests/java/server_management_test.py b/ycmd/tests/java/server_management_test.py index b85787657e..a1c369c661 100644 --- a/ycmd/tests/java/server_management_test.py +++ b/ycmd/tests/java/server_management_test.py @@ -564,3 +564,8 @@ def ServerManagement_StartServer_Fails_test( app ): has_entry( 'is_running', False ) ) ) ) ) + + +def Dummy_test(): + # Workaround for https://github.com/pytest-dev/pytest-rerunfailures/issues/51 + assert True diff --git a/ycmd/tests/java/signature_help_test.py b/ycmd/tests/java/signature_help_test.py index 57fe7fb426..7b51a58f53 100644 --- a/ycmd/tests/java/signature_help_test.py +++ b/ycmd/tests/java/signature_help_test.py @@ -175,3 +175,8 @@ def Signature_Help_Available_test( app ): response = app.get( '/signature_help_available', { 'subserver': 'java' } ).json assert_that( response, SignatureAvailableMatcher( 'YES' ) ) + + +def Dummy_test(): + # Workaround for https://github.com/pytest-dev/pytest-rerunfailures/issues/51 + assert True diff --git a/ycmd/tests/java/subcommands_test.py b/ycmd/tests/java/subcommands_test.py index 4d9451bab5..1b2e535748 100644 --- a/ycmd/tests/java/subcommands_test.py +++ b/ycmd/tests/java/subcommands_test.py @@ -2296,3 +2296,8 @@ def Subcommands_ExecuteCommand_test( app ): 'data': '' } } ) + + +def Dummy_test(): + # Workaround for https://github.com/pytest-dev/pytest-rerunfailures/issues/51 + assert True diff --git a/ycmd/tests/javascript/debug_info_test.py b/ycmd/tests/javascript/debug_info_test.py index 4b75350e97..a072f174e8 100644 --- a/ycmd/tests/javascript/debug_info_test.py +++ b/ycmd/tests/javascript/debug_info_test.py @@ -63,3 +63,8 @@ def DebugInfo_NoCompleter_test( app, *args ): app.post_json( '/debug_info', request_data ).json, has_entry( 'completer', none() ) ) + + +def Dummy_test(): + # Workaround for https://github.com/pytest-dev/pytest-rerunfailures/issues/51 + assert True diff --git a/ycmd/tests/javascript/diagnostics_test.py b/ycmd/tests/javascript/diagnostics_test.py index 767f6908d5..d3e7333887 100644 --- a/ycmd/tests/javascript/diagnostics_test.py +++ b/ycmd/tests/javascript/diagnostics_test.py @@ -114,3 +114,8 @@ def Diagnostics_DetailedDiagnostics_test( app ): 'message', "Property 'nonExistingMethod' does not exist on type 'Bar'." ) ) + + +def Dummy_test(): + # Workaround for https://github.com/pytest-dev/pytest-rerunfailures/issues/51 + assert True diff --git a/ycmd/tests/javascript/get_completions_test.py b/ycmd/tests/javascript/get_completions_test.py index 58e58f8bb5..5ca152d0c7 100644 --- a/ycmd/tests/javascript/get_completions_test.py +++ b/ycmd/tests/javascript/get_completions_test.py @@ -197,3 +197,8 @@ def GetCompletions_IgnoreIdentifiers_test( app ): } ) } } ) + + +def Dummy_test(): + # Workaround for https://github.com/pytest-dev/pytest-rerunfailures/issues/51 + assert True diff --git a/ycmd/tests/javascript/subcommands_test.py b/ycmd/tests/javascript/subcommands_test.py index 57f761233f..97e6b4f44f 100644 --- a/ycmd/tests/javascript/subcommands_test.py +++ b/ycmd/tests/javascript/subcommands_test.py @@ -770,3 +770,8 @@ def Subcommands_RefactorRename_MultipleFiles_test( app ): } ) } } ) + + +def Dummy_test(): + # Workaround for https://github.com/pytest-dev/pytest-rerunfailures/issues/51 + assert True diff --git a/ycmd/tests/javascriptreact/get_completions_test.py b/ycmd/tests/javascriptreact/get_completions_test.py index 5b6dc10e7f..b0048fb8f5 100644 --- a/ycmd/tests/javascriptreact/get_completions_test.py +++ b/ycmd/tests/javascriptreact/get_completions_test.py @@ -75,3 +75,8 @@ def GetCompletions_JavaScriptReact_DefaultTriggers_test( app ): } ) } } ) + + +def Dummy_test(): + # Workaround for https://github.com/pytest-dev/pytest-rerunfailures/issues/51 + assert True diff --git a/ycmd/tests/javascriptreact/subcommands_test.py b/ycmd/tests/javascriptreact/subcommands_test.py index b50d3f36db..83ed0f7a71 100644 --- a/ycmd/tests/javascriptreact/subcommands_test.py +++ b/ycmd/tests/javascriptreact/subcommands_test.py @@ -92,3 +92,8 @@ def Subcommands_GoToReferences_test( app ): ) } } ) + + +def Dummy_test(): + # Workaround for https://github.com/pytest-dev/pytest-rerunfailures/issues/51 + assert True diff --git a/ycmd/tests/language_server/generic_completer_test.py b/ycmd/tests/language_server/generic_completer_test.py index 6435bb00e2..6db29a6d5d 100644 --- a/ycmd/tests/language_server/generic_completer_test.py +++ b/ycmd/tests/language_server/generic_completer_test.py @@ -578,3 +578,8 @@ def GenericLSPCompleter_SingleDiagnostics_test( app ): } ) ) } ) ) ) + + +def Dummy_test(): + # Workaround for https://github.com/pytest-dev/pytest-rerunfailures/issues/51 + assert True diff --git a/ycmd/tests/language_server/language_server_completer_test.py b/ycmd/tests/language_server/language_server_completer_test.py index d9aa1204c2..83dc570f19 100644 --- a/ycmd/tests/language_server/language_server_completer_test.py +++ b/ycmd/tests/language_server/language_server_completer_test.py @@ -1491,3 +1491,8 @@ def LanguageServerCompleter_DistanceOfPointToRange_MultiLineRange_test(): _Check_Distance( ( 1, 4 ), ( 0, 2 ), ( 3, 5 ) , 0 ) # Point to the right of range. _Check_Distance( ( 3, 8 ), ( 0, 2 ), ( 3, 5 ) , 3 ) + + +def Dummy_test(): + # Workaround for https://github.com/pytest-dev/pytest-rerunfailures/issues/51 + assert True diff --git a/ycmd/tests/language_server/language_server_connection_test.py b/ycmd/tests/language_server/language_server_connection_test.py index dda1d2ae80..b8d672665c 100644 --- a/ycmd/tests/language_server/language_server_connection_test.py +++ b/ycmd/tests/language_server/language_server_connection_test.py @@ -174,3 +174,8 @@ def LanguageServerConnection_RejectUnsupportedRequest_test(): with patch.object( connection, 'WriteData' ) as write_data: connection.run() write_data.assert_called_with( expected_response ) + + +def Dummy_test(): + # Workaround for https://github.com/pytest-dev/pytest-rerunfailures/issues/51 + assert True diff --git a/ycmd/tests/language_server/language_server_protocol_test.py b/ycmd/tests/language_server/language_server_protocol_test.py index cf29568247..e69a8f2ba0 100644 --- a/ycmd/tests/language_server/language_server_protocol_test.py +++ b/ycmd/tests/language_server/language_server_protocol_test.py @@ -201,3 +201,8 @@ def CodepointsToUTF16CodeUnitsAndReverse_test( line_value, equal_to( code_units ) ) assert_that( lsp.UTF16CodeUnitsToCodepoints( line_value, code_units ), equal_to( codepoints ) ) + + +def Dummy_test(): + # Workaround for https://github.com/pytest-dev/pytest-rerunfailures/issues/51 + assert True diff --git a/ycmd/tests/misc_handlers_test.py b/ycmd/tests/misc_handlers_test.py index d19f78e38b..f3e04d514b 100644 --- a/ycmd/tests/misc_handlers_test.py +++ b/ycmd/tests/misc_handlers_test.py @@ -268,3 +268,8 @@ def MiscHandlers_SignatureHelp_ComputeSignatureThrows_test( compute_sig, app ): ErrorMatcher( RuntimeError, '' ) ) } ) ) + + +def Dummy_test(): + # Workaround for https://github.com/pytest-dev/pytest-rerunfailures/issues/51 + assert True diff --git a/ycmd/tests/python/debug_info_test.py b/ycmd/tests/python/debug_info_test.py index 23c2e9ff13..06ebff8af2 100644 --- a/ycmd/tests/python/debug_info_test.py +++ b/ycmd/tests/python/debug_info_test.py @@ -60,3 +60,8 @@ def DebugInfo_test( app ): ) } ) ) ) + + +def Dummy_test(): + # Workaround for https://github.com/pytest-dev/pytest-rerunfailures/issues/51 + assert True diff --git a/ycmd/tests/python/get_completions_test.py b/ycmd/tests/python/get_completions_test.py index cc33f68fff..5d20adbb23 100644 --- a/ycmd/tests/python/get_completions_test.py +++ b/ycmd/tests/python/get_completions_test.py @@ -415,3 +415,8 @@ def GetCompletions_NumpyDoc_test( app ): } ) } } ) + + +def Dummy_test(): + # Workaround for https://github.com/pytest-dev/pytest-rerunfailures/issues/51 + assert True diff --git a/ycmd/tests/python/signature_help_test.py b/ycmd/tests/python/signature_help_test.py index a87834a818..1148abb3b8 100644 --- a/ycmd/tests/python/signature_help_test.py +++ b/ycmd/tests/python/signature_help_test.py @@ -290,3 +290,8 @@ def SignatureHelp_MultipleDefinitions_OneActive_test( app ): } ) } } ) + + +def Dummy_test(): + # Workaround for https://github.com/pytest-dev/pytest-rerunfailures/issues/51 + assert True diff --git a/ycmd/tests/python/subcommands_test.py b/ycmd/tests/python/subcommands_test.py index 8f0fc0516f..446383eb46 100644 --- a/ycmd/tests/python/subcommands_test.py +++ b/ycmd/tests/python/subcommands_test.py @@ -740,3 +740,8 @@ def Subcommands_RefactorRename_Module_test( app ): } ) ) } ) ) + + +def Dummy_test(): + # Workaround for https://github.com/pytest-dev/pytest-rerunfailures/issues/51 + assert True diff --git a/ycmd/tests/python_support_test.py b/ycmd/tests/python_support_test.py index 57b77fefe8..7a0a432a0f 100644 --- a/ycmd/tests/python_support_test.py +++ b/ycmd/tests/python_support_test.py @@ -84,3 +84,8 @@ def CompilationDatabase_NativeString_test(): equal_to( '--driver-mode=g++' ) ) assert_that( str( info.compiler_flags_[ 2 ] ), equal_to( 'example.cc' ) ) + + +def Dummy_test(): + # Workaround for https://github.com/pytest-dev/pytest-rerunfailures/issues/51 + assert True diff --git a/ycmd/tests/request_validation_test.py b/ycmd/tests/request_validation_test.py index a908b3de91..2923b10d12 100644 --- a/ycmd/tests/request_validation_test.py +++ b/ycmd/tests/request_validation_test.py @@ -92,3 +92,8 @@ def EnsureRequestValid_MissingEntryForFileInFileData_test(): data[ 'filepath' ] = '/bar' assert_that( calling( EnsureRequestValid ).with_args( data ), raises( ServerError, ".*/bar.*" ) ) + + +def Dummy_test(): + # Workaround for https://github.com/pytest-dev/pytest-rerunfailures/issues/51 + assert True diff --git a/ycmd/tests/request_wrap_test.py b/ycmd/tests/request_wrap_test.py index 2c701b203f..513a1f9ab3 100644 --- a/ycmd/tests/request_wrap_test.py +++ b/ycmd/tests/request_wrap_test.py @@ -405,3 +405,8 @@ def ExtraConfData_test(): extra_conf_data[ 'key' ].append( 'another_value' ) assert_that( extra_conf_data, has_entry( 'key', contains_exactly( 'value' ) ) ) + + +def Dummy_test(): + # Workaround for https://github.com/pytest-dev/pytest-rerunfailures/issues/51 + assert True diff --git a/ycmd/tests/rust/debug_info_test.py b/ycmd/tests/rust/debug_info_test.py index 71d4cf9c3f..1da1a481f1 100644 --- a/ycmd/tests/rust/debug_info_test.py +++ b/ycmd/tests/rust/debug_info_test.py @@ -120,3 +120,8 @@ def DebugInfo_NoRlsVersion_test( get_command_output, app ): } ) ) } ) ) ) + + +def Dummy_test(): + # Workaround for https://github.com/pytest-dev/pytest-rerunfailures/issues/51 + assert True diff --git a/ycmd/tests/rust/diagnostics_test.py b/ycmd/tests/rust/diagnostics_test.py index 6183281f46..1be4407433 100644 --- a/ycmd/tests/rust/diagnostics_test.py +++ b/ycmd/tests/rust/diagnostics_test.py @@ -127,3 +127,8 @@ def Diagnostics_Poll_test( app ): 'Timed out waiting for full set of diagnostics. ' f'Expected to see diags for { json.dumps( to_see, indent = 2 ) }, ' f'but only saw { json.dumps( sorted( seen.keys() ), indent = 2 ) }.' ) + + +def Dummy_test(): + # Workaround for https://github.com/pytest-dev/pytest-rerunfailures/issues/51 + assert True diff --git a/ycmd/tests/rust/get_completions_test.py b/ycmd/tests/rust/get_completions_test.py index 878109edf6..e530ce3abc 100644 --- a/ycmd/tests/rust/get_completions_test.py +++ b/ycmd/tests/rust/get_completions_test.py @@ -83,3 +83,8 @@ def GetCompletions_Basic_test( app ): # result, and that there are no errors. assert_that( response[ 'completion' ], is_not( None ) ) assert_that( response[ 'errors' ], empty() ) + + +def Dummy_test(): + # Workaround for https://github.com/pytest-dev/pytest-rerunfailures/issues/51 + assert True diff --git a/ycmd/tests/rust/rust_completer_test.py b/ycmd/tests/rust/rust_completer_test.py index b36a365fc8..cc2c4fb7b8 100644 --- a/ycmd/tests/rust/rust_completer_test.py +++ b/ycmd/tests/rust/rust_completer_test.py @@ -58,3 +58,8 @@ def GetCompleter_WarnsAboutOldConfig_test( logger ): GetCompleter( user_options ) logger.warning.assert_called_with( 'rls_binary_path detected. Did you mean rust_toolchain_root?' ) + + +def Dummy_test(): + # Workaround for https://github.com/pytest-dev/pytest-rerunfailures/issues/51 + assert True diff --git a/ycmd/tests/rust/server_management_test.py b/ycmd/tests/rust/server_management_test.py index 3d706421a9..ed08e8386e 100644 --- a/ycmd/tests/rust/server_management_test.py +++ b/ycmd/tests/rust/server_management_test.py @@ -134,3 +134,8 @@ def ServerManagement_StartServer_Fails_test( app ): has_entry( 'is_running', False ) ) ) ) ) + + +def Dummy_test(): + # Workaround for https://github.com/pytest-dev/pytest-rerunfailures/issues/51 + assert True diff --git a/ycmd/tests/rust/signature_help_test.py b/ycmd/tests/rust/signature_help_test.py index c3a59a85fe..0115323562 100644 --- a/ycmd/tests/rust/signature_help_test.py +++ b/ycmd/tests/rust/signature_help_test.py @@ -131,3 +131,8 @@ def Signature_Help_Available_test( app ): response = app.get( '/signature_help_available', { 'subserver': 'rust' } ).json assert_that( response, SignatureAvailableMatcher( 'YES' ) ) + + +def Dummy_test(): + # Workaround for https://github.com/pytest-dev/pytest-rerunfailures/issues/51 + assert True diff --git a/ycmd/tests/rust/subcommands_test.py b/ycmd/tests/rust/subcommands_test.py index d188496b99..df78fe3d62 100644 --- a/ycmd/tests/rust/subcommands_test.py +++ b/ycmd/tests/rust/subcommands_test.py @@ -513,3 +513,8 @@ def Subcommands_FixIt_Basic_test( app ): } ) }, } ) + + +def Dummy_test(): + # Workaround for https://github.com/pytest-dev/pytest-rerunfailures/issues/51 + assert True diff --git a/ycmd/tests/shutdown_test.py b/ycmd/tests/shutdown_test.py index 8a76e6712b..dbf9400f4d 100644 --- a/ycmd/tests/shutdown_test.py +++ b/ycmd/tests/shutdown_test.py @@ -117,3 +117,8 @@ def KeepServerAliveInAnotherThread(): self.AssertServersShutDown( timeout = SUBSERVER_SHUTDOWN_TIMEOUT + 10 ) self.AssertLogfilesAreRemoved() + + +def Dummy_test(): + # Workaround for https://github.com/pytest-dev/pytest-rerunfailures/issues/51 + assert True diff --git a/ycmd/tests/signature_help_test.py b/ycmd/tests/signature_help_test.py index fd358739c9..a9de229c30 100644 --- a/ycmd/tests/signature_help_test.py +++ b/ycmd/tests/signature_help_test.py @@ -56,3 +56,8 @@ def SignatureHelp_IdentifierCompleter_disabled_test( app ): 'errors': empty(), 'signature_help': EMPTY_SIGNATURE_HELP } ) ) + + +def Dummy_test(): + # Workaround for https://github.com/pytest-dev/pytest-rerunfailures/issues/51 + assert True diff --git a/ycmd/tests/subcommands_test.py b/ycmd/tests/subcommands_test.py index d59d130579..fee9af9968 100644 --- a/ycmd/tests/subcommands_test.py +++ b/ycmd/tests/subcommands_test.py @@ -45,3 +45,8 @@ def Subcommands_NoExplicitCompleterTargetSpecified_test( get_subcmd_map, app ): subcommands_data = BuildRequest( filetype = 'dummy_filetype' ) assert_that( app.post_json( '/defined_subcommands', subcommands_data ).json, contains_exactly( 'A', 'B', 'C' ) ) + + +def Dummy_test(): + # Workaround for https://github.com/pytest-dev/pytest-rerunfailures/issues/51 + assert True diff --git a/ycmd/tests/tern/debug_info_test.py b/ycmd/tests/tern/debug_info_test.py index 7aec285943..1ac4aac8ee 100644 --- a/ycmd/tests/tern/debug_info_test.py +++ b/ycmd/tests/tern/debug_info_test.py @@ -56,3 +56,8 @@ def DebugInfo_test( app ): 'items': empty() } ) ) ) + + +def Dummy_test(): + # Workaround for https://github.com/pytest-dev/pytest-rerunfailures/issues/51 + assert True diff --git a/ycmd/tests/tern/event_notification_test.py b/ycmd/tests/tern/event_notification_test.py index 64af25e86a..de6ba63112 100644 --- a/ycmd/tests/tern/event_notification_test.py +++ b/ycmd/tests/tern/event_notification_test.py @@ -265,3 +265,8 @@ def EventNotification_OnFileReadyToParse_UseGlobalConfig_test( } ) ) ) + + +def Dummy_test(): + # Workaround for https://github.com/pytest-dev/pytest-rerunfailures/issues/51 + assert True diff --git a/ycmd/tests/tern/get_completions_test.py b/ycmd/tests/tern/get_completions_test.py index 3895b806a7..890b1e65bd 100644 --- a/ycmd/tests/tern/get_completions_test.py +++ b/ycmd/tests/tern/get_completions_test.py @@ -493,3 +493,8 @@ def GetCompletions_ChangeStartColumn_test( app ): } ) }, } ) + + +def Dummy_test(): + # Workaround for https://github.com/pytest-dev/pytest-rerunfailures/issues/51 + assert True diff --git a/ycmd/tests/tern/subcommands_test.py b/ycmd/tests/tern/subcommands_test.py index 3fbb1b3bca..96954dfa85 100644 --- a/ycmd/tests/tern/subcommands_test.py +++ b/ycmd/tests/tern/subcommands_test.py @@ -530,3 +530,8 @@ def Subcommands_StopServer_Timeout_test( app ): has_entry( 'is_running', False ) ) ) ) ) + + +def Dummy_test(): + # Workaround for https://github.com/pytest-dev/pytest-rerunfailures/issues/51 + assert True diff --git a/ycmd/tests/typescript/debug_info_test.py b/ycmd/tests/typescript/debug_info_test.py index 4e76066d57..2109f6a948 100644 --- a/ycmd/tests/typescript/debug_info_test.py +++ b/ycmd/tests/typescript/debug_info_test.py @@ -48,3 +48,8 @@ def DebugInfo_test( app ): } ) ) } ) ) ) + + +def Dummy_test(): + # Workaround for https://github.com/pytest-dev/pytest-rerunfailures/issues/51 + assert True diff --git a/ycmd/tests/typescript/diagnostics_test.py b/ycmd/tests/typescript/diagnostics_test.py index 843bd2dfe2..9f124e1198 100644 --- a/ycmd/tests/typescript/diagnostics_test.py +++ b/ycmd/tests/typescript/diagnostics_test.py @@ -155,3 +155,8 @@ def Diagnostics_MaximumDiagnosticsNumberExceeded_test( app ): } ), ) ) + + +def Dummy_test(): + # Workaround for https://github.com/pytest-dev/pytest-rerunfailures/issues/51 + assert True diff --git a/ycmd/tests/typescript/event_notification_test.py b/ycmd/tests/typescript/event_notification_test.py index f119d1a681..835b76cd9b 100644 --- a/ycmd/tests/typescript/event_notification_test.py +++ b/ycmd/tests/typescript/event_notification_test.py @@ -101,3 +101,8 @@ def EventNotification_OnBufferUnload_CloseFile_test( app ): response = app.post_json( '/completions', completion_data ) assert_that( response.json, has_entries( { 'completions': contains_exactly( CompletionEntryMatcher( 'method' ) ) } ) ) + + +def Dummy_test(): + # Workaround for https://github.com/pytest-dev/pytest-rerunfailures/issues/51 + assert True diff --git a/ycmd/tests/typescript/get_completions_test.py b/ycmd/tests/typescript/get_completions_test.py index 668eac10f2..5f63a6879a 100644 --- a/ycmd/tests/typescript/get_completions_test.py +++ b/ycmd/tests/typescript/get_completions_test.py @@ -353,3 +353,8 @@ def GetCompletions_TypeScriptReact_DefaultTriggers_test( app ): } ) } } ) + + +def Dummy_test(): + # Workaround for https://github.com/pytest-dev/pytest-rerunfailures/issues/51 + assert True diff --git a/ycmd/tests/typescript/signature_help_test.py b/ycmd/tests/typescript/signature_help_test.py index ac92d844be..64cd0033e1 100644 --- a/ycmd/tests/typescript/signature_help_test.py +++ b/ycmd/tests/typescript/signature_help_test.py @@ -257,3 +257,8 @@ def Signature_Help_NoErrorWhenNoSignatureInfo_test( app ): } ) } } ) + + +def Dummy_test(): + # Workaround for https://github.com/pytest-dev/pytest-rerunfailures/issues/51 + assert True diff --git a/ycmd/tests/typescript/subcommands_test.py b/ycmd/tests/typescript/subcommands_test.py index 44c476284a..7e634fc65c 100644 --- a/ycmd/tests/typescript/subcommands_test.py +++ b/ycmd/tests/typescript/subcommands_test.py @@ -1073,3 +1073,8 @@ def Subcommands_StopServer_Timeout_test( app ): has_entry( 'is_running', False ) ) ) ) ) + + +def Dummy_test(): + # Workaround for https://github.com/pytest-dev/pytest-rerunfailures/issues/51 + assert True diff --git a/ycmd/tests/typescript/typescript_completer_test.py b/ycmd/tests/typescript/typescript_completer_test.py index e1a98796a2..07b43f76b2 100644 --- a/ycmd/tests/typescript/typescript_completer_test.py +++ b/ycmd/tests/typescript/typescript_completer_test.py @@ -40,3 +40,8 @@ def ShouldEnableTypeScriptCompleter_TsserverNotFound_test( *args ): @patch( 'os.path.isfile', return_value = True ) def FindTSServer_CustomTsserverPath_test( *args ): assert_that( 'tsserver', equal_to( FindTSServer( 'tsserver' ) ) ) + + +def Dummy_test(): + # Workaround for https://github.com/pytest-dev/pytest-rerunfailures/issues/51 + assert True diff --git a/ycmd/tests/utils_test.py b/ycmd/tests/utils_test.py index b022a6d9af..a1d1266d7d 100644 --- a/ycmd/tests/utils_test.py +++ b/ycmd/tests/utils_test.py @@ -547,3 +547,8 @@ def MakeSafeFileNameString_test( unsafe_name, safe_name ): def UpdateDict_test( target, override, expected ): assert_that( utils.UpdateDict( target, override ), equal_to( expected ) ) + + +def Dummy_test(): + # Workaround for https://github.com/pytest-dev/pytest-rerunfailures/issues/51 + assert True