Skip to content
Snippets Groups Projects
Commit 5cab39b2 authored by lukas leufen's avatar lukas leufen
Browse files

adjusted test, /close #28

parent 90dbf513
No related branches found
No related tags found
2 merge requests!24include recent development,!19include tests for join downloads
Pipeline #27039 passed
from typing import Iterable from typing import Iterable
from datetime import datetime as dt import datetime as dt
import pytest import pytest
from src.join import * from src.join import *
...@@ -47,7 +47,7 @@ class TestSaveToPandas: ...@@ -47,7 +47,7 @@ class TestSaveToPandas:
@staticmethod @staticmethod
def convert_date(date): def convert_date(date):
return map(lambda s: dt.strptime(s, "%Y-%m-%d %H:%M"), date) return map(lambda s: dt.datetime.strptime(s, "%Y-%m-%d %H:%M"), date)
@pytest.fixture @pytest.fixture
def date(self): def date(self):
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment