Skip to content

Commit

Permalink
chore: move db doctypes to database module
Browse files Browse the repository at this point in the history
  • Loading branch information
tanmoysrt committed Oct 14, 2024
1 parent 6f0ad89 commit e315ab9
Show file tree
Hide file tree
Showing 23 changed files with 734 additions and 51 deletions.
4 changes: 2 additions & 2 deletions press/api/tests/test_server.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
from press.press.doctype.ansible_play.test_ansible_play import create_test_ansible_play
from press.press.doctype.cluster.cluster import Cluster
from press.press.doctype.cluster.test_cluster import create_test_cluster
from press.press.doctype.database_server.database_server import DatabaseServer
from press.database.doctype.database_server.database_server import DatabaseServer
from press.press.doctype.proxy_server.test_proxy_server import create_test_proxy_server
from press.press.doctype.server.server import BaseServer
from press.press.doctype.team.test_team import create_test_press_admin_team
Expand Down Expand Up @@ -316,7 +316,7 @@ def test_creation_of_db_server_adds_default_mariadb_variables(self):

class TestAPIServerList(FrappeTestCase):
def setUp(self):
from press.press.doctype.database_server.test_database_server import (
from press.database.doctype.database_server.test_database_server import (
create_test_database_server,
)
from press.press.doctype.press_tag.test_press_tag import create_and_add_test_tag
Expand Down
Empty file added press/database/__init__.py
Empty file.
Empty file.
Empty file.
8 changes: 8 additions & 0 deletions press/database/doctype/database_server/database_server.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
// Copyright (c) 2024, Frappe and contributors
// For license information, please see license.txt

// frappe.ui.form.on("Database Server", {
// refresh(frm) {

// },
// });
Loading

0 comments on commit e315ab9

Please sign in to comment.