mirror of
https://github.com/blakeblackshear/frigate.git
synced 2026-02-03 09:45:22 +03:00
Remove utils
This commit is contained in:
parent
b086fc7a69
commit
f14542cd09
@ -1,12 +0,0 @@
|
|||||||
from unittest import TestCase
|
|
||||||
from frigate.util import get_mb_from_abbrev
|
|
||||||
|
|
||||||
|
|
||||||
class TestUtils(TestCase):
|
|
||||||
def setUp(self):
|
|
||||||
self.gb127 = "127G"
|
|
||||||
self.mb228 = "228M"
|
|
||||||
|
|
||||||
def test_mb_abbrev(self):
|
|
||||||
assert get_mb_from_abbrev(self.gb127) == 127000
|
|
||||||
assert get_mb_from_abbrev(self.mb228) == 228
|
|
||||||
Loading…
Reference in New Issue
Block a user