Skip to content

Commit

Permalink
.
Browse files Browse the repository at this point in the history
  • Loading branch information
sisoe24 committed Aug 20, 2024
1 parent 663fe63 commit 8ef001e
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 10 deletions.
4 changes: 4 additions & 0 deletions nukeserversocket/__init__.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,10 @@
"""Module will initialize the logging system and import Nuke."""
from __future__ import annotations

from . import *
import os
from .main import NukeServerSocket
from .version import __version__
from .controllers.nuke import install_nuke

print('main__init__.', os.listdir())
10 changes: 0 additions & 10 deletions tests/__init__.py

This file was deleted.

6 changes: 6 additions & 0 deletions tests/conftest.py
Original file line number Diff line number Diff line change
@@ -1,13 +1,19 @@
from __future__ import annotations

import os
import sys
import logging
import pathlib

import pytest

from nukeserversocket import settings

p = os.path.dirname(os.path.dirname(__file__))
sys.path.append(os.path.join(p, 'nukeserversocket'))
print('sys path', sys.path)


SETTINGS_FILE = pathlib.Path(__file__).parent / 'tmp' / 'nss.json'
SETTINGS_FILE.parent.mkdir(parents=True, exist_ok=True)

Expand Down

0 comments on commit 8ef001e

Please sign in to comment.