Skip to content

Commit 4499173

Browse files
authored
Update and rename integration-test.yml to integration-test.yml.py
1 parent f20523f commit 4499173

File tree

2 files changed

+11
-18
lines changed

2 files changed

+11
-18
lines changed

test/integration-test.yml

Lines changed: 0 additions & 18 deletions
This file was deleted.

test/integration-test.yml.py

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
import subprocess
2+
import unittest
3+
4+
class TestDockerBuild(unittest.TestCase):
5+
def test_build(self):
6+
result = subprocess.run(
7+
["docker", "build", "-t", "mechbot-test", "."],
8+
capture_output=True,
9+
text=True
10+
)
11+
self.assertEqual(result.returncode, 0)

0 commit comments

Comments
 (0)