Skip to content

Commit 98d7f15

Browse files
committed
use .war suffix
1 parent 20bf34d commit 98d7f15

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tools/src/test/python/test_deploy.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@
3333
def test_deploy_dirs():
3434
logger = logging.getLogger(__name__)
3535

36-
with tempfile.NamedTemporaryFile() as source_war_fp, tempfile.TemporaryDirectory() as tmp_dir:
36+
with tempfile.NamedTemporaryFile(suffix=".war") as source_war_fp, tempfile.TemporaryDirectory() as tmp_dir:
3737
source_war = source_war_fp.name
3838
assert os.path.isfile(source_war)
3939
target_war = os.path.join(tmp_dir, "foo", "bar", "my.war")

0 commit comments

Comments
 (0)