Skip to content

Commit

Permalink
revert test changes
Browse files Browse the repository at this point in the history
  • Loading branch information
ajinabraham committed Nov 7, 2024
1 parent 41c4a13 commit 51bc180
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions mobsf/StaticAnalyzer/tests.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,8 @@
import os
import platform

from mobsf.MobSF.init import api_key

from django.conf import settings
from django.http import HttpResponse
from django.test import Client, TestCase
Expand Down Expand Up @@ -173,8 +175,7 @@ def static_analysis_test():
def api_test():
"""View for Handling REST API Test."""
logger.info('\nRunning REST API Unit test')
auth = 'test_key'
os.environ['MOBSF_API_KEY'] = auth
auth = api_key(settings.MOBSF_HOME)
try:
uploaded = []
logger.info('Running Test on Upload API')
Expand Down

0 comments on commit 51bc180

Please sign in to comment.