Skip to content

Commit

Permalink
working implementation of state check
Browse files Browse the repository at this point in the history
  • Loading branch information
feyruzb committed Oct 15, 2024
1 parent b71af06 commit 152f0d9
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
3 changes: 0 additions & 3 deletions web/server/codechecker_server/api/authentication.py
Original file line number Diff line number Diff line change
Expand Up @@ -242,9 +242,6 @@ def createLink(self, provider):

@timeit
def performLogin(self, auth_method, auth_string):
print(f" ********** auth_method: {auth_method}")
print(f" ********** auth_string: {auth_string}")

if not auth_string:
raise codechecker_api_shared.ttypes.RequestFailed(
codechecker_api_shared.ttypes.ErrorCode.AUTH_DENIED,
Expand Down
2 changes: 2 additions & 0 deletions web/tests/functional/authentication/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@

from libtest import codechecker
from libtest import env
from time import sleep
import multiprocess

# Stopping event for CodeChecker server.
Expand Down Expand Up @@ -67,6 +68,7 @@ def setup_class_common():

subprocess.Popen(["python3", "oauth_server.py"],
cwd="tests/functional/authentication")
sleep(5)


def teardown_class_common():
Expand Down

0 comments on commit 152f0d9

Please sign in to comment.