Skip to content

Commit 192d0a7

Browse files
committed
Merge branch 'master' of github.com:devopshobbies/devops-gpt
2 parents 7cbfb64 + 5383fcb commit 192d0a7

File tree

7 files changed

+13
-12
lines changed

7 files changed

+13
-12
lines changed

.github/workflows/ci.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ jobs:
4343
steps:
4444
- uses: actions/checkout@v4
4545
with:
46-
submodules: recursive
46+
submodules: true
4747

4848
- name: install requirements
4949
run: pip install -r requirements.txt

.github/workflows/unit-test.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@ jobs:
1313
- name: Checkout code
1414
uses: actions/checkout@v4
1515
with:
16+
submodules: true
1617
ref: ${{ github.event.pull_request.head.ref }}
1718
repository: ${{ github.event.pull_request.head.repo.full_name }}
1819

app/tests/test_helm_template.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ def setup_method(self):
1515
self.mock_builtin_open = patch('builtins.open', mock_open()).start()
1616
self.mock_shutil_rm = patch('shutil.rmtree').start()
1717

18-
self.url = '/Helm-template/'
18+
self.url = '/api/Helm-template/'
1919

2020
def teardown_method(self):
2121
patch.stopall()

app/tests/test_iac_basic.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ def setup_method(self):
1111
self.mock_gpt_service = patch('app.main.gpt_service', return_value='Mocked GPT Response').start()
1212
self.mock_openai = patch('app.gpt_services.OpenAI', return_value=mock_client_instance).start()
1313

14-
self.url = '/IaC-basic/'
14+
self.url = '/api/IaC-basic/'
1515

1616
def teardown_method(self):
1717
patch.stopall()

app/tests/test_iac_bugfix.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ def setup_method(self):
1111
self.mock_gpt_service = patch('app.main.gpt_service', return_value='Mocked GPT Response').start()
1212
self.mock_openai = patch('app.gpt_services.OpenAI', return_value=mock_client_instance).start()
1313

14-
self.url = '/IaC-bugfix/'
14+
self.url = '/api/IaC-bugfix/'
1515

1616
def teardown_method(self):
1717
patch.stopall()

app/tests/test_iac_install.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ def setup_method(self):
1616
self.mock_gpt_service = patch('app.main.gpt_service', return_value='Mocked GPT Response').start()
1717
self.mock_openai = patch('app.gpt_services.OpenAI', return_value=mock_client_instance).start()
1818

19-
self.url = '/IaC-install/'
19+
self.url = '/api/IaC-install/'
2020

2121
def teardown_method(self):
2222
patch.stopall()

app/tests/test_iac_template.py

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -14,13 +14,13 @@ def setup_method(self):
1414
self.mock_openai = patch('app.gpt_services.OpenAI', return_value=mock_client_instance).start()
1515
self.mock_builtin_open = patch('builtins.open', mock_open()).start()
1616

17-
self.iac_template_docker_url = '/IaC-template/docker'
18-
self.iac_template_ec2_url = '/IaC-template/aws/ec2'
19-
self.iac_template_s3_url = '/IaC-template/aws/s3'
20-
self.iac_template_iam_url = '/IaC-template/aws/iam'
21-
self.iac_template_argocd_url = '/IaC-template/argocd'
22-
self.iac_template_elb_url = '/IaC-template/aws/elb'
23-
self.iac_template_efs_url = '/IaC-template/aws/efs'
17+
self.iac_template_docker_url = '/api/IaC-template/docker'
18+
self.iac_template_ec2_url = '/api/IaC-template/aws/ec2'
19+
self.iac_template_s3_url = '/api/IaC-template/aws/s3'
20+
self.iac_template_iam_url = '/api/IaC-template/aws/iam'
21+
self.iac_template_argocd_url = '/api/IaC-template/argocd'
22+
self.iac_template_elb_url = '/api/IaC-template/aws/elb'
23+
self.iac_template_efs_url = '/api/IaC-template/aws/efs'
2424

2525
def teardown_method(self):
2626
patch.stopall()

0 commit comments

Comments
 (0)