Skip to content

Commit c6be708

Browse files
committed
Trying to fix the broken elinkapi_tests but they depend on the new DAMinimum model in new-core-to-rebase...
1 parent fcad472 commit c6be708

File tree

3 files changed

+8
-1
lines changed

3 files changed

+8
-1
lines changed

__init__.py

Whitespace-only changes.

src/__init__.py

Whitespace-only changes.

tests/elinkapi_test.py

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,17 @@
11
import pytest
22
from elinkapi import Elink, Record, exceptions
3+
4+
import sys
35
import os
4-
from src.mp_cite.core import make_minimum_record_to_fully_release
6+
57
from dotenv import load_dotenv
68
from datetime import datetime
79

10+
sys.path.insert(0, os.path.abspath(os.path.join(os.path.dirname(__file__), "..")))
11+
from src.mp_cite.core import (
12+
make_minimum_record_to_fully_release,
13+
) # cannot find a good workaround for this...
14+
815
load_dotenv()
916

1017

0 commit comments

Comments
 (0)