From 99ae801d87682904a22df66c209dec39b47bb6c5 Mon Sep 17 00:00:00 2001 From: Jan Heise Date: Thu, 14 Apr 2022 16:12:51 +0200 Subject: [PATCH] initial commit, work in progress Signed-off-by: Jan Heise --- README.md | 4 ++++ __init__.py | 6 ++++++ challenge.py | 13 ++++++++++++ test/__init__.py | 16 +++++++++++++++ test/__pycache__/__init__.cpython-37.pyc | Bin 0 -> 421 bytes .../test_404_event_cam.cpython-37.pyc | Bin 0 -> 533 bytes test/data/__init__.py | 18 +++++++++++++++++ test/data/__pycache__/__init__.cpython-37.pyc | Bin 0 -> 478 bytes test/test_404_event_cam.py | 19 ++++++++++++++++++ 9 files changed, 76 insertions(+) create mode 100644 README.md create mode 100644 __init__.py create mode 100644 challenge.py create mode 100644 test/__init__.py create mode 100644 test/__pycache__/__init__.cpython-37.pyc create mode 100644 test/__pycache__/test_404_event_cam.cpython-37.pyc create mode 100644 test/data/__init__.py create mode 100644 test/data/__pycache__/__init__.cpython-37.pyc create mode 100644 test/test_404_event_cam.py diff --git a/README.md b/README.md new file mode 100644 index 0000000..d709f3d --- /dev/null +++ b/README.md @@ -0,0 +1,4 @@ +Challenge +========= + + diff --git a/__init__.py b/__init__.py new file mode 100644 index 0000000..13f3c25 --- /dev/null +++ b/__init__.py @@ -0,0 +1,6 @@ +""" Mini-Challenge + +Ziel ist es, die Adapter-KLasse zu erweitern. Siehe challenge.py. +""" + +from .challenge import Adapter diff --git a/challenge.py b/challenge.py new file mode 100644 index 0000000..ac6506b --- /dev/null +++ b/challenge.py @@ -0,0 +1,13 @@ +""" Mini-Challenge """ + +class Adapter(): + """ Adapter class + + Aufgabe: Asynchron Daten lesen, konvertieren und zurückliefern. + """ + + def __init__(self, path): + self.path = path + + def retrieve_json(self, name): + pass diff --git a/test/__init__.py b/test/__init__.py new file mode 100644 index 0000000..5e799af --- /dev/null +++ b/test/__init__.py @@ -0,0 +1,16 @@ +# -*- coding: utf-8 -*- +""" +Schneider Intercom ICX +====================== + +Test module + +.. moduleauthor:: Jan Heise + +""" +__copyright__ = 'Copyright (C) 2015-2022 DResearch Digital Media Systems GmbH' +__revision__ = '' +__docformat__ = 'reStructuredText' + +import os + diff --git a/test/__pycache__/__init__.cpython-37.pyc b/test/__pycache__/__init__.cpython-37.pyc new file mode 100644 index 0000000000000000000000000000000000000000..4a639379b3cafef0e61e70a7e1c259bfc1c7cf27 GIT binary patch literal 421 zcmZuu!A=4(5bZ7?q>;p<2V;7agS)ti7lMQciD04!7ZbCWrnV#7xVt577ll9a?$_+q zlfU4}B5?Cf=FLoI+R4mZx7!#w96x@tQxBo9O|XaWoS{>5;z*zb2`}-4pZKDd)I?o0 zvU=h;MxBGT!ZA+^kODNB78W#DIhl^0@YTP-cm~FjT!}IRjDuk3veKqX_j=@(6=VX^ z0O_Y2GZY#OFwN6IzyRZQf20;GE$68vXQK{@x)+z{Q8$Xn_+eK_#&Rw#%g7xF$w<61 z7IH&w^5;o~k|PbV)g`y31~G$o`|XBA_nk)7q*N$QY1O8b@0(DX98#)bDUDRcHtDKf zl+KxTp|8vb(oOfpAN_R0ROJu~SV9)QDg9~|j6=v%mSs@PA+&D(kWyJl_dHmvs#bry Pjlt$1rsb&a{fYkz?!cqu%si*`KufRj_N*P#~ zI`9HaoWqZRPx9UQ?z8oMchc>~1o85AIXR$&y!y*G0xXX4*j)^gWJFRKC|U$rK#6R~ zP&JA$3$bp>)+5Q9GCC(od;Js-^BfjVlsT{qur7Z1i#Q$(CrT`@1~EhIv7r0i^cHv3mY;F) zv(0TU#w#Wb6JZ=Dtt#SN>YVc`F13Z8(^^^MITfiT)x=uLuh8=I_F + +""" +__copyright__ = 'Copyright (C) 2015-2022 DResearch Digital Media Systems GmbH' +__revision__ = '' +__docformat__ = 'reStructuredText' + +import os + +# Defines the directory for the test data +TEST_DATA_DIR = os.path.dirname(__file__) diff --git a/test/data/__pycache__/__init__.cpython-37.pyc b/test/data/__pycache__/__init__.cpython-37.pyc new file mode 100644 index 0000000000000000000000000000000000000000..75f61f10749e335ecd33a9d35acb112a3fbb5c50 GIT binary patch literal 478 zcmZuuu};G<5Ovy=7K=)Zj2`Jg1C>}%K|qV3NH8=(LRl=6I~qe0N45);uYr-BugS{9 zFEHU0*m#!T`RPu2y659=mlB7Kt9Ma)gnZQE4^8(tbk}S;0umGOVhh#HYqIXMCEL9J)-;ng3<_$Wgx7ewBKjBf_a8w zZd0ZA_Sm^7*cnQLY?#*N5HuPTI!XJ02b4Y!N2*+CIZG|u9QD{>duMlRuss;C@$`3) zjpa;Qk+BN|DOk8L7IVW+^P97ZRO=c;tLKTGYlH}&?5A6oT=rJ0Hs_!c&Z{ox$)Aan zYn*F*kVdNFr|G6{mCl8AvY|}nm%^r18>B8oj#Y>ATbUu}aW^^%BR)Qgj`(;oeIt6! zSuN>nH%L{E0pJ5>!K2dmrW6SVNh-1oix~#ir4-aD1)R%5I