ajoute package test
This commit is contained in:
parent
589db4b5ff
commit
d71d4f3309
5
.idea/encodings.xml
generated
Normal file
5
.idea/encodings.xml
generated
Normal file
@ -0,0 +1,5 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<project version="4">
|
||||
<component name="Encoding" useUTFGuessing="true" native2AsciiForPropertiesFiles="false" />
|
||||
</project>
|
||||
|
9
.idea/gestionParking.iml
generated
Normal file
9
.idea/gestionParking.iml
generated
Normal file
@ -0,0 +1,9 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<module type="PYTHON_MODULE" version="4">
|
||||
<component name="NewModuleRootManager">
|
||||
<content url="file://$MODULE_DIR$" />
|
||||
<orderEntry type="inheritedJdk" />
|
||||
<orderEntry type="sourceFolder" forTests="false" />
|
||||
</component>
|
||||
</module>
|
||||
|
5
.idea/misc.xml
generated
Normal file
5
.idea/misc.xml
generated
Normal file
@ -0,0 +1,5 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<project version="4">
|
||||
<component name="ProjectRootManager" version="2" project-jdk-name="Python 3.4.1 (/usr/bin/python3.4)" project-jdk-type="Python SDK" />
|
||||
</project>
|
||||
|
9
.idea/modules.xml
generated
Normal file
9
.idea/modules.xml
generated
Normal file
@ -0,0 +1,9 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<project version="4">
|
||||
<component name="ProjectModuleManager">
|
||||
<modules>
|
||||
<module fileurl="file://$PROJECT_DIR$/.idea/gestionParking.iml" filepath="$PROJECT_DIR$/.idea/gestionParking.iml" />
|
||||
</modules>
|
||||
</component>
|
||||
</project>
|
||||
|
5
.idea/scopes/scope_settings.xml
generated
Normal file
5
.idea/scopes/scope_settings.xml
generated
Normal file
@ -0,0 +1,5 @@
|
||||
<component name="DependencyValidationManager">
|
||||
<state>
|
||||
<option name="SKIP_IMPORT_STATEMENTS" value="false" />
|
||||
</state>
|
||||
</component>
|
7
.idea/vcs.xml
generated
Normal file
7
.idea/vcs.xml
generated
Normal file
@ -0,0 +1,7 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<project version="4">
|
||||
<component name="VcsDirectoryMappings">
|
||||
<mapping directory="$PROJECT_DIR$" vcs="Git" />
|
||||
</component>
|
||||
</project>
|
||||
|
1
src/c/test/__init__.py
Normal file
1
src/c/test/__init__.py
Normal file
@ -0,0 +1 @@
|
||||
__author__ = 'sidya'
|
5
src/m/camera.py
Normal file
5
src/m/camera.py
Normal file
@ -0,0 +1,5 @@
|
||||
__author__ = 'sidya'
|
||||
|
||||
|
||||
class Camera:
|
||||
pass
|
1
src/m/test/__init__.py
Normal file
1
src/m/test/__init__.py
Normal file
@ -0,0 +1 @@
|
||||
__author__ = 'sidya'
|
12
src/m/test/testCamera.py
Normal file
12
src/m/test/testCamera.py
Normal file
@ -0,0 +1,12 @@
|
||||
from src.m.camera import Camera
|
||||
|
||||
__author__ = 'sidya'
|
||||
|
||||
import nose
|
||||
class testCamera :
|
||||
def run(self):
|
||||
pass
|
||||
|
||||
def testTailleMax(self):
|
||||
c = Camera()
|
||||
assert (c.capturerHauteur()>1.5)
|
Reference in New Issue
Block a user