Skip to content

Commit

Permalink
fixed imports
Browse files Browse the repository at this point in the history
  • Loading branch information
DinisCruz committed Jan 11, 2025
1 parent 8bcd4c5 commit 5ab66b8
Show file tree
Hide file tree
Showing 6 changed files with 7 additions and 6 deletions.
Empty file.
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
from mgraph_ai.providers.mermaid.domain.Mermaid__Graph import Mermaid__Graph
from osbot_utils.helpers.Safe_Id import Safe_Id
from osbot_utils.helpers.Random_Guid import Random_Guid
from mgraph_ai.mgraph.domain.MGraph__Graph import MGraph__Graph
from mgraph_ai.providers.mermaid.schemas.Schema__Mermaid__Node import Schema__Mermaid__Node
from mgraph_ai.providers.mermaid.schemas.Schema__Mermaid__Node__Config import Schema__Mermaid__Node__Config
from mgraph_ai.providers.mermaid.models.Model__Mermaid__Graph import Model__Mermaid__Graph
from mgraph_ai.providers.mermaid.schemas.Schema__Mermaid__Graph import Schema__Mermaid__Graph
from mgraph_ai.providers.mermaid.schemas.Schema__Mermaid__Default__Types import Schema__Mermaid__Default__Types
from mgraph_ai.providers.mermaid.schemas.Schema__Mermaid__Graph__Config import Schema__Mermaid__Graph__Config

# todo: refactor this out, and use Mermaid__Random_Graph instead
class Test_Data_Mermaid:
@staticmethod
def create_test_graph(num_nodes=3):
Expand Down
7 changes: 4 additions & 3 deletions tests/unit/providers/mermaid/actions/test_Mermaid__Data.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
from unittest import TestCase
from mgraph_ai.providers.mermaid.actions.Mermaid__Data import Mermaid__Data
from mgraph_ai.providers.mermaid.test_data.Test_Data__Mermaid import Test_Data_Mermaid
from unittest import TestCase
from mgraph_ai.providers.mermaid.actions.Mermaid__Data import Mermaid__Data
from mgraph_ai.providers.mermaid.utils.Test_Data__Mermaid import Test_Data_Mermaid

# todo: refactor this out with Mermaid__Random_Graph

class test_Mermaid__Data(TestCase):

Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
from unittest import TestCase
from mgraph_ai.providers.mermaid.domain.Mermaid__Node import Mermaid__Node
from mgraph_ai.providers.mermaid.schemas.Schema__Mermaid__Node__Shape import Schema__Mermaid__Node__Shape
from mgraph_ai.providers.mermaid.test_data.Test_Data__Mermaid import Test_Data_Mermaid
from mgraph_ai.providers.mermaid.utils.Test_Data__Mermaid import Test_Data_Mermaid


class test_Mermaid__Node__config(TestCase): # todo: refactor these tests to the correct location since most are related to the node's .config()
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
from unittest import TestCase
from mgraph_ai.providers.mermaid.domain.Mermaid import Mermaid
from mgraph_ai.providers.mermaid.examples.Mermaid_Examples__FlowChart import Mermain_Examples__FlowChart
from mgraph_ai.providers.mermaid.schemas.Schema__Mermaid__Diagram__Type import Schema__Mermaid__Diagram__Type
from mgraph_ai.providers.mermaid.utils.Mermaid_Examples__FlowChart import Mermain_Examples__FlowChart
from osbot_utils.utils.Str import str_dedent


Expand Down

0 comments on commit 5ab66b8

Please sign in to comment.