Skip to content

Commit

Permalink
[WAYANG-#8] Test seed added
Browse files Browse the repository at this point in the history
Signed-off-by: bertty <[email protected]>
  • Loading branch information
Bertty Contreras-Rojas authored and berttty committed Apr 8, 2022
1 parent d997405 commit a7730b3
Show file tree
Hide file tree
Showing 39 changed files with 413 additions and 14 deletions.
6 changes: 6 additions & 0 deletions python/bin/test.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
#!/bin/bash


cd "$(dirname "$0")/.."

python -m unittest discover -s ./src/ --pattern=*test.py
14 changes: 7 additions & 7 deletions python/setup.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -19,13 +19,13 @@ package_dir =
= src
packages = find:
python_requires = >=3.6

[options.packages.find]
where = src

[options]

install_requires =
cloudpickle ==2.0.0
protobuf ==3.19.4
BazSpam ==1.1
BazSpam ==1.1

tests_require =
unitest ==1.3.5

[options.packages.find]
where = src
8 changes: 1 addition & 7 deletions python/src/pywy/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,10 +13,4 @@
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
#

from .config import *
from .orchestrator import *
from pywy.translate.protobuf import *
from .old_graph import *
from .test import *
#
File renamed without changes.
File renamed without changes.
15 changes: 15 additions & 0 deletions python/src/pywy/tests/benchmark/python_benchmark_test.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
import unittest


class TestBenchmarkPython(unittest.TestCase):
def setUp(self):
pass

def test_TO_REMOVE(self):
"""
TODO REMOVE THIS TEST, IT JUST TO VALIDATE THAT EVERYTHING IS CORRECT IN TERMS OF ENVIRONMENT
Returns
-------
"""
self.assertEqual("a", "a")
Empty file.
16 changes: 16 additions & 0 deletions python/src/pywy/tests/integration/python_platform_test.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
import unittest


class TestIntegrationPythonPlatform(unittest.TestCase):
def setUp(self):
pass

def test_TO_REMOVE(self):
"""
TODO REMOVE THIS TEST, IT JUST TO VALIDATE THAT EVERYTHING IS CORRECT IN TERMS OF ENVIRONMENT
Returns
-------
"""
self.assertEqual("a", "a")

Empty file.
Empty file.
16 changes: 16 additions & 0 deletions python/src/pywy/tests/unit/core/channel_test.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
import unittest


class TestUnitCoreChannel(unittest.TestCase):
def setUp(self):
pass

def test_TO_REMOVE(self):
"""
TODO REMOVE THIS TEST, IT JUST TO VALIDATE THAT EVERYTHING IS CORRECT IN TERMS OF ENVIRONMENT
Returns
-------
"""
self.assertEqual("a", "a")

16 changes: 16 additions & 0 deletions python/src/pywy/tests/unit/core/executor_test.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
import unittest


class TestUnitCoreExecutor(unittest.TestCase):
def setUp(self):
pass

def test_TO_REMOVE(self):
"""
TODO REMOVE THIS TEST, IT JUST TO VALIDATE THAT EVERYTHING IS CORRECT IN TERMS OF ENVIRONMENT
Returns
-------
"""
self.assertEqual("a", "a")

16 changes: 16 additions & 0 deletions python/src/pywy/tests/unit/core/mapping_test.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
import unittest


class TestUnitCoreMapping(unittest.TestCase):
def setUp(self):
pass

def test_TO_REMOVE(self):
"""
TODO REMOVE THIS TEST, IT JUST TO VALIDATE THAT EVERYTHING IS CORRECT IN TERMS OF ENVIRONMENT
Returns
-------
"""
self.assertEqual("a", "a")

16 changes: 16 additions & 0 deletions python/src/pywy/tests/unit/core/plan_test.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
import unittest


class TestUnitCorePlan(unittest.TestCase):
def setUp(self):
pass

def test_TO_REMOVE(self):
"""
TODO REMOVE THIS TEST, IT JUST TO VALIDATE THAT EVERYTHING IS CORRECT IN TERMS OF ENVIRONMENT
Returns
-------
"""
self.assertEqual("a", "a")

16 changes: 16 additions & 0 deletions python/src/pywy/tests/unit/core/platform_test.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
import unittest


class TestUnitCorePlatform(unittest.TestCase):
def setUp(self):
pass

def test_TO_REMOVE(self):
"""
TODO REMOVE THIS TEST, IT JUST TO VALIDATE THAT EVERYTHING IS CORRECT IN TERMS OF ENVIRONMENT
Returns
-------
"""
self.assertEqual("a", "a")

16 changes: 16 additions & 0 deletions python/src/pywy/tests/unit/core/plugin_test.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
import unittest


class TestUnitCorePlugin(unittest.TestCase):
def setUp(self):
pass

def test_TO_REMOVE(self):
"""
TODO REMOVE THIS TEST, IT JUST TO VALIDATE THAT EVERYTHING IS CORRECT IN TERMS OF ENVIRONMENT
Returns
-------
"""
self.assertEqual("a", "a")

16 changes: 16 additions & 0 deletions python/src/pywy/tests/unit/core/translator_test.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
import unittest


class TestUnitCoreTranslator(unittest.TestCase):
def setUp(self):
pass

def test_TO_REMOVE(self):
"""
TODO REMOVE THIS TEST, IT JUST TO VALIDATE THAT EVERYTHING IS CORRECT IN TERMS OF ENVIRONMENT
Returns
-------
"""
self.assertEqual("a", "a")

Empty file.
Empty file.
16 changes: 16 additions & 0 deletions python/src/pywy/tests/unit/graph/graph_test.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
import unittest


class TestUnitGraphGraph(unittest.TestCase):
def setUp(self):
pass

def test_TO_REMOVE(self):
"""
TODO REMOVE THIS TEST, IT JUST TO VALIDATE THAT EVERYTHING IS CORRECT IN TERMS OF ENVIRONMENT
Returns
-------
"""
self.assertEqual("a", "a")

16 changes: 16 additions & 0 deletions python/src/pywy/tests/unit/graph/types_test.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
import unittest


class TestUnitGraphTypes(unittest.TestCase):
def setUp(self):
pass

def test_TO_REMOVE(self):
"""
TODO REMOVE THIS TEST, IT JUST TO VALIDATE THAT EVERYTHING IS CORRECT IN TERMS OF ENVIRONMENT
Returns
-------
"""
self.assertEqual("a", "a")

Empty file.
16 changes: 16 additions & 0 deletions python/src/pywy/tests/unit/operators/base_test.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
import unittest


class TestUnitOperatorsBase(unittest.TestCase):
def setUp(self):
pass

def test_TO_REMOVE(self):
"""
TODO REMOVE THIS TEST, IT JUST TO VALIDATE THAT EVERYTHING IS CORRECT IN TERMS OF ENVIRONMENT
Returns
-------
"""
self.assertEqual("a", "a")

16 changes: 16 additions & 0 deletions python/src/pywy/tests/unit/operators/sink_test.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
import unittest


class TestUnitOperatorsSink(unittest.TestCase):
def setUp(self):
pass

def test_TO_REMOVE(self):
"""
TODO REMOVE THIS TEST, IT JUST TO VALIDATE THAT EVERYTHING IS CORRECT IN TERMS OF ENVIRONMENT
Returns
-------
"""
self.assertEqual("a", "a")

16 changes: 16 additions & 0 deletions python/src/pywy/tests/unit/operators/source_test.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
import unittest


class TestUnitOperatorsSource(unittest.TestCase):
def setUp(self):
pass

def test_TO_REMOVE(self):
"""
TODO REMOVE THIS TEST, IT JUST TO VALIDATE THAT EVERYTHING IS CORRECT IN TERMS OF ENVIRONMENT
Returns
-------
"""
self.assertEqual("a", "a")

16 changes: 16 additions & 0 deletions python/src/pywy/tests/unit/operators/unary_test.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
import unittest


class TestUnitOperatorsUnary(unittest.TestCase):
def setUp(self):
pass

def test_TO_REMOVE(self):
"""
TODO REMOVE THIS TEST, IT JUST TO VALIDATE THAT EVERYTHING IS CORRECT IN TERMS OF ENVIRONMENT
Returns
-------
"""
self.assertEqual("a", "a")

Empty file.
Empty file.
16 changes: 16 additions & 0 deletions python/src/pywy/tests/unit/platforms/python/channel_test.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
import unittest


class TestUnitPlatformPyChannel(unittest.TestCase):
def setUp(self):
pass

def test_TO_REMOVE(self):
"""
TODO REMOVE THIS TEST, IT JUST TO VALIDATE THAT EVERYTHING IS CORRECT IN TERMS OF ENVIRONMENT
Returns
-------
"""
self.assertEqual("a", "a")

16 changes: 16 additions & 0 deletions python/src/pywy/tests/unit/platforms/python/execution_test.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
import unittest


class TestUnitPlatformPyExecution(unittest.TestCase):
def setUp(self):
pass

def test_TO_REMOVE(self):
"""
TODO REMOVE THIS TEST, IT JUST TO VALIDATE THAT EVERYTHING IS CORRECT IN TERMS OF ENVIRONMENT
Returns
-------
"""
self.assertEqual("a", "a")

16 changes: 16 additions & 0 deletions python/src/pywy/tests/unit/platforms/python/mappings_test.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
import unittest


class TestUnitPlatformPyMappings(unittest.TestCase):
def setUp(self):
pass

def test_TO_REMOVE(self):
"""
TODO REMOVE THIS TEST, IT JUST TO VALIDATE THAT EVERYTHING IS CORRECT IN TERMS OF ENVIRONMENT
Returns
-------
"""
self.assertEqual("a", "a")

Empty file.
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
import unittest


class TestUnitPlatformPyOperatorExecution(unittest.TestCase):
def setUp(self):
pass

def test_TO_REMOVE(self):
"""
TODO REMOVE THIS TEST, IT JUST TO VALIDATE THAT EVERYTHING IS CORRECT IN TERMS OF ENVIRONMENT
Returns
-------
"""
self.assertEqual("a", "a")

Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
import unittest


class TestUnitPlatformPyOperatorSinkTextfile(unittest.TestCase):
def setUp(self):
pass

def test_TO_REMOVE(self):
"""
TODO REMOVE THIS TEST, IT JUST TO VALIDATE THAT EVERYTHING IS CORRECT IN TERMS OF ENVIRONMENT
Returns
-------
"""
self.assertEqual("a", "a")

Loading

0 comments on commit a7730b3

Please sign in to comment.