Skip to content

Commit

Permalink
structure changed
Browse files Browse the repository at this point in the history
  • Loading branch information
彭雨杨 committed Dec 12, 2023
1 parent 76b6299 commit a069243
Show file tree
Hide file tree
Showing 38 changed files with 32 additions and 14 deletions.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
Binary file not shown.
Binary file not shown.
File renamed without changes.
File renamed without changes.
File renamed without changes.
18 changes: 4 additions & 14 deletions test.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -2,27 +2,17 @@
"cells": [
{
"cell_type": "code",
"execution_count": 1,
"execution_count": 4,
"id": "1d0967c3",
"metadata": {},
"outputs": [
{
"name": "stdout",
"output_type": "stream",
"text": [
"initializing bank_management\n",
"Initializing the 'user' package.\n",
"Initializing the 'investment' package.\n"
]
}
],
"outputs": [],
"source": [
"from bank_management import start"
"from src.bank_management import start"
]
},
{
"cell_type": "code",
"execution_count": 2,
"execution_count": 5,
"id": "c1cdb3a5",
"metadata": {},
"outputs": [
Expand Down
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
File renamed without changes.
7 changes: 7 additions & 0 deletions unittest_for_admin.py → tests/unittest_for_admin.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,10 @@
import sys
import os
folder_name = "src"
current_directory = os.getcwd()
folder_name = os.path.join(current_directory,folder_name)
sys.path.append(folder_name)

import unittest
from datetime import datetime
from bank_management.user.client import client
Expand Down
7 changes: 7 additions & 0 deletions unittest_for_client.py → tests/unittest_for_client.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,10 @@
import sys
import os
folder_name = "src"
current_directory = os.getcwd()
folder_name = os.path.join(current_directory,folder_name)
sys.path.append(folder_name)

import unittest
from datetime import datetime
from bank_management.user.client import client
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,10 @@
import sys
import os
folder_name = "src"
current_directory = os.getcwd()
folder_name = os.path.join(current_directory,folder_name)
sys.path.append(folder_name)

import unittest
from datetime import datetime
from bank_management.investment.investment import investment
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,10 @@
import sys
import os
folder_name = "src"
current_directory = os.getcwd()
folder_name = os.path.join(current_directory,folder_name)
sys.path.append(folder_name)

import unittest
from datetime import datetime
from bank_management.investment.investment import investment
Expand Down

0 comments on commit a069243

Please sign in to comment.