mirror of
https://github.com/omaha-consulting/winget.pro.git
synced 2026-10-24 21:02:23 +00:00
9 lines
292 B
Python
9 lines
292 B
Python
from unittest import TestCase
|
|
from winget.util import randomize_filename
|
|
|
|
class RandomizeFilenameTest(TestCase):
|
|
def test_randomize_filename(self):
|
|
self.assertEqual(
|
|
randomize_filename('installer.exe', seed=1631548913),
|
|
'installer-v34EnYOkYJ.exe'
|
|
) |