for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
import unittest
The coding style of this project requires that you add a docstring to this code element. Below, you find an example for methods:
class SomeClass: def some_method(self): """Do x and return foo."""
If you would like to know more about docstrings, we recommend to read PEP-257: Docstring Conventions.
import glob
import os
from df3tools import df3split, df3combine
class TestDf3Tools(unittest.TestCase):
def tearDown(self):
for filename in glob.glob("*.tga"):
os.remove(filename)
for filename in glob.glob("*.df3"):
def test_full_cycle(self):
df3split.df3split('data/clouds.df3')
self.assertEqual(len(glob.glob("*.tga")), 133)
df3combine.df3combine('clouds.df3')
The coding style of this project requires that you add a docstring to this code element. Below, you find an example for methods:
If you would like to know more about docstrings, we recommend to read PEP-257: Docstring Conventions.