Skip to content

Commit 290291c

Browse files
Test Cases Passing
1 parent 7e1cb50 commit 290291c

File tree

4 files changed

+10
-7
lines changed

4 files changed

+10
-7
lines changed

src/tests/test_public_fundamental.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ def make_instance(self, include_optional):
5656
target_price=1.337, ),
5757
balance_sheets=src.IntelligentStockMarketAPI.models.balance_sheets.BalanceSheets(
5858
annual_balance_sheets=src.IntelligentStockMarketAPI.models.annual_balance_sheet.AnnualBalanceSheet(
59-
balance_sheet=src.IntelligentStockMarketAPI.models._balance_sheet.BalanceSheet(
59+
balance_sheet=src.IntelligentStockMarketAPI.models.BalanceSheet(
6060
accounts_payable=1.337,
6161
accumulated_amortization=1.337,
6262
accumulated_depreciation=1.337,

src/tests/test_public_fundamentals_response.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020
from src.IntelligentStockMarketAPI.rest import ApiException
2121

2222

23-
# noinspection PyMethodMayBeStatic
23+
# noinspection PyMethodMayBeStatic,DuplicatedCode
2424
class TestPublicFundamentalsResponse(unittest.TestCase):
2525
"""PublicFundamentalsResponse unit test stubs"""
2626

@@ -57,8 +57,8 @@ def make_instance(self, include_optional):
5757
strong_sell=56,
5858
target_price=1.337, ),
5959
balance_sheets=src.IntelligentStockMarketAPI.models.balance_sheets.BalanceSheets(
60-
annual_balance_sheets=src.IntelligentStockMarketAPI.models.annual_balance_sheet.AnnualBalanceSheet(
61-
balance_sheet=src.IntelligentStockMarketAPI.models._balance_sheet.BalanceSheet(
60+
annual_balance_sheets=src.IntelligentStockMarketAPI.models.AnnualBalanceSheet(
61+
balance_sheet=src.IntelligentStockMarketAPI.models.BalanceSheet(
6262
accounts_payable=1.337,
6363
accumulated_amortization=1.337,
6464
accumulated_depreciation=1.337,

src/tests/test_quarterly_balance_response.py

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@
2020
from src.IntelligentStockMarketAPI.rest import ApiException
2121

2222

23+
# noinspection DuplicatedCode
2324
class TestQuarterlyBalanceResponse(unittest.TestCase):
2425
"""QuarterlyBalanceResponse unit test stubs"""
2526

@@ -38,8 +39,8 @@ def make_instance(self, include_optional):
3839
if include_optional:
3940
return QuarterlyBalanceResponse(
4041
message='0',
41-
payload=src.IntelligentStockMarketAPI.models.quarterly_balance_sheet.QuarterlyBalanceSheet(
42-
balance_sheet=src.IntelligentStockMarketAPI.models._balance_sheet._BalanceSheet(
42+
payload=src.IntelligentStockMarketAPI.models.QuarterlyBalanceSheet(
43+
balance_sheet=src.IntelligentStockMarketAPI.models.BalanceSheet(
4344
accounts_payable=1.337,
4445
accumulated_amortization=1.337,
4546
accumulated_depreciation=1.337,

src/tests/test_quarterly_balance_sheet.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,8 @@
2020
from src.IntelligentStockMarketAPI.models.quarterly_balance_sheet import QuarterlyBalanceSheet # noqa: E501
2121
from src.IntelligentStockMarketAPI.rest import ApiException
2222

23+
24+
# noinspection DuplicatedCode
2325
class TestQuarterlyBalanceSheet(unittest.TestCase):
2426
"""QuarterlyBalanceSheet unit test stubs"""
2527

@@ -37,7 +39,7 @@ def make_instance(self, include_optional):
3739
# model = src.IntelligentStockMarketAPI.models.quarterly_balance_sheet.QuarterlyBalanceSheet() # noqa: E501
3840
if include_optional :
3941
return QuarterlyBalanceSheet(
40-
balance_sheet = src.IntelligentStockMarketAPI.models._balance_sheet.BalanceSheet(
42+
balance_sheet = src.IntelligentStockMarketAPI.models.BalanceSheet(
4143
accounts_payable = 1.337,
4244
accumulated_amortization = 1.337,
4345
accumulated_depreciation = 1.337,

0 commit comments

Comments
 (0)