Skip to content
This repository was archived by the owner on Feb 12, 2025. It is now read-only.

Jansiraj patch 1 #19

Open
wants to merge 5 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion config.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,5 @@ class Config(object):
TESTING = False
SECRET_KEY = 'GDtfDCFYjD'
SQLALCHEMY_DATABASE_URI = 'sqlite:///company.db'
SQLALCHEMY_TRACK_MODIFICATIONS = False
SQLALCHEMY_TRACK_MODIFICATIONS = False
AWS_ACCESS_KEY_ID: 'ABCDEFGHIJKLMNOPQRST'
1 change: 1 addition & 0 deletions emp/emp.py
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
'password'='MySecretPassword123'
1 change: 0 additions & 1 deletion main.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,5 +15,4 @@ def create_app():

if __name__ == '__main__':
db.create_all(app=create_app())
print("hello")
app.run(debug=False, host='0.0.0.0', port=8080)
2 changes: 2 additions & 0 deletions new_file.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
print("hello")
AWS_ACCESS_KEY_ID: 'ABCDEFGHIJKLMNOPQRST'
1 change: 1 addition & 0 deletions test_app.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ class TestFlaskApi(unittest.TestCase):

def setUp(self):
self.app = main.app.test_client()
self.secrets = {"APIKey": "abc123def456ghi789jkl012mno345pqr678stuv901wxz234"}
self.app.testing = True

def test_post_success_response(self):
Expand Down
Loading