Skip to content

Commit

Permalink
fix lint
Browse files Browse the repository at this point in the history
  • Loading branch information
aMahanna committed Dec 5, 2023
1 parent f0352c4 commit 19dd073
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
6 changes: 3 additions & 3 deletions tests/conftest.py
Original file line number Diff line number Diff line change
@@ -1,13 +1,12 @@
import logging
import os
import random
import subprocess
from pathlib import Path
from typing import Any, Callable, Dict, Optional

import torch
import random
import numpy as np

import torch
from arango import ArangoClient
from arango.database import StandardDatabase
from pandas import DataFrame
Expand Down Expand Up @@ -39,6 +38,7 @@
adbpyg_adapter: ADBPyG_Adapter
PROJECT_DIR = Path(__file__).parent.parent


def pytest_addoption(parser: Any) -> None:
parser.addoption("--url", action="store", default="http://localhost:8529")
parser.addoption("--dbName", action="store", default="_system")
Expand Down
2 changes: 2 additions & 0 deletions tests/test_adapter.py
Original file line number Diff line number Diff line change
Expand Up @@ -821,6 +821,7 @@ def test_full_cycle_homogeneous_with_preserve_adb_keys() -> None:

db.delete_graph(name, drop_collections=True, ignore_missing=True)


def test_full_cycle_imdb_with_preserve_adb_keys() -> None:
name = "imdb"
db.delete_graph(name, drop_collections=True, ignore_missing=True)
Expand Down Expand Up @@ -893,6 +894,7 @@ def test_full_cycle_imdb_with_preserve_adb_keys() -> None:

db.delete_graph(name, drop_collections=True)


def assert_pyg_to_adb(
name: str,
pyg_g: Union[Data, HeteroData],
Expand Down

0 comments on commit 19dd073

Please sign in to comment.