2017-02-24 01:03:03 +03:00
|
|
|
#!/usr/bin/env python2.7
|
2017-11-16 21:56:44 +03:00
|
|
|
from __future__ import absolute_import
|
2017-02-24 01:03:03 +03:00
|
|
|
|
|
|
|
import hashlib
|
|
|
|
import random
|
|
|
|
import shutil
|
|
|
|
import tempfile
|
2017-03-02 03:55:18 +03:00
|
|
|
import time
|
2017-02-24 01:03:03 +03:00
|
|
|
import unittest
|
|
|
|
|
codemod: join the auto-formatter party
Summary:
Turned on the auto formatter. Ran `arc lint --apply-patches --take BLACK **/*.py`.
Then run `arc lint` again so some other autofixers like spellchecker etc. looked
at the code base. Manually accept the changes whenever they make sense, or use
a workaround (ex. changing "dict()" to "dict constructor") where autofix is false
positive. Disabled linters on files that are hard (i18n/polib.py) to fix, or less
interesting to fix (hgsubversion tests), or cannot be fixed without breaking
OSS build (FBPYTHON4).
Conflicted linters (test-check-module-imports.t, part of test-check-code.t,
test-check-pyflakes.t) are removed or disabled.
Duplicated linters (test-check-pyflakes.t, test-check-pylint.t) are removed.
An issue of the auto-formatter is lines are no longer guarnateed to be <= 80
chars. But that seems less important comparing with the benefit auto-formatter
provides.
As we're here, also remove test-check-py3-compat.t, as it is currently broken
if `PYTHON3=/bin/python3` is set.
Reviewed By: wez, phillco, simpkins, pkaush, singhsrb
Differential Revision: D8173629
fbshipit-source-id: 90e248ae0c5e6eaadbe25520a6ee42d32005621b
2018-05-26 07:34:37 +03:00
|
|
|
import mercurial.ui
|
2017-02-24 01:03:03 +03:00
|
|
|
import silenttestrunner
|
codemod: join the auto-formatter party
Summary:
Turned on the auto formatter. Ran `arc lint --apply-patches --take BLACK **/*.py`.
Then run `arc lint` again so some other autofixers like spellchecker etc. looked
at the code base. Manually accept the changes whenever they make sense, or use
a workaround (ex. changing "dict()" to "dict constructor") where autofix is false
positive. Disabled linters on files that are hard (i18n/polib.py) to fix, or less
interesting to fix (hgsubversion tests), or cannot be fixed without breaking
OSS build (FBPYTHON4).
Conflicted linters (test-check-module-imports.t, part of test-check-code.t,
test-check-pyflakes.t) are removed or disabled.
Duplicated linters (test-check-pyflakes.t, test-check-pylint.t) are removed.
An issue of the auto-formatter is lines are no longer guarnateed to be <= 80
chars. But that seems less important comparing with the benefit auto-formatter
provides.
As we're here, also remove test-check-py3-compat.t, as it is currently broken
if `PYTHON3=/bin/python3` is set.
Reviewed By: wez, phillco, simpkins, pkaush, singhsrb
Differential Revision: D8173629
fbshipit-source-id: 90e248ae0c5e6eaadbe25520a6ee42d32005621b
2018-05-26 07:34:37 +03:00
|
|
|
from hgext.extlib.cstore import datapackstore
|
|
|
|
from hgext.remotefilelog.datapack import fastdatapack, mutabledatapack
|
2018-05-30 22:59:25 +03:00
|
|
|
from mercurial.node import bin, nullid
|
codemod: join the auto-formatter party
Summary:
Turned on the auto formatter. Ran `arc lint --apply-patches --take BLACK **/*.py`.
Then run `arc lint` again so some other autofixers like spellchecker etc. looked
at the code base. Manually accept the changes whenever they make sense, or use
a workaround (ex. changing "dict()" to "dict constructor") where autofix is false
positive. Disabled linters on files that are hard (i18n/polib.py) to fix, or less
interesting to fix (hgsubversion tests), or cannot be fixed without breaking
OSS build (FBPYTHON4).
Conflicted linters (test-check-module-imports.t, part of test-check-code.t,
test-check-pyflakes.t) are removed or disabled.
Duplicated linters (test-check-pyflakes.t, test-check-pylint.t) are removed.
An issue of the auto-formatter is lines are no longer guarnateed to be <= 80
chars. But that seems less important comparing with the benefit auto-formatter
provides.
As we're here, also remove test-check-py3-compat.t, as it is currently broken
if `PYTHON3=/bin/python3` is set.
Reviewed By: wez, phillco, simpkins, pkaush, singhsrb
Differential Revision: D8173629
fbshipit-source-id: 90e248ae0c5e6eaadbe25520a6ee42d32005621b
2018-05-26 07:34:37 +03:00
|
|
|
|
2017-02-24 01:03:03 +03:00
|
|
|
|
|
|
|
class datapackstoretests(unittest.TestCase):
|
|
|
|
def setUp(self):
|
|
|
|
random.seed(0)
|
|
|
|
self.tempdirs = []
|
|
|
|
|
|
|
|
def tearDown(self):
|
|
|
|
for d in self.tempdirs:
|
|
|
|
shutil.rmtree(d)
|
|
|
|
|
|
|
|
def makeTempDir(self):
|
|
|
|
tempdir = tempfile.mkdtemp()
|
|
|
|
self.tempdirs.append(tempdir)
|
|
|
|
return tempdir
|
|
|
|
|
|
|
|
def getHash(self, content):
|
|
|
|
return hashlib.sha1(content).digest()
|
|
|
|
|
|
|
|
def getFakeHash(self):
|
codemod: join the auto-formatter party
Summary:
Turned on the auto formatter. Ran `arc lint --apply-patches --take BLACK **/*.py`.
Then run `arc lint` again so some other autofixers like spellchecker etc. looked
at the code base. Manually accept the changes whenever they make sense, or use
a workaround (ex. changing "dict()" to "dict constructor") where autofix is false
positive. Disabled linters on files that are hard (i18n/polib.py) to fix, or less
interesting to fix (hgsubversion tests), or cannot be fixed without breaking
OSS build (FBPYTHON4).
Conflicted linters (test-check-module-imports.t, part of test-check-code.t,
test-check-pyflakes.t) are removed or disabled.
Duplicated linters (test-check-pyflakes.t, test-check-pylint.t) are removed.
An issue of the auto-formatter is lines are no longer guarnateed to be <= 80
chars. But that seems less important comparing with the benefit auto-formatter
provides.
As we're here, also remove test-check-py3-compat.t, as it is currently broken
if `PYTHON3=/bin/python3` is set.
Reviewed By: wez, phillco, simpkins, pkaush, singhsrb
Differential Revision: D8173629
fbshipit-source-id: 90e248ae0c5e6eaadbe25520a6ee42d32005621b
2018-05-26 07:34:37 +03:00
|
|
|
return "".join(chr(random.randint(0, 255)) for _ in range(20))
|
2017-02-24 01:03:03 +03:00
|
|
|
|
|
|
|
def createPack(self, packdir, revisions=None):
|
|
|
|
if revisions is None:
|
|
|
|
revisions = [("filename", self.getFakeHash(), nullid, "content")]
|
|
|
|
|
|
|
|
packer = mutabledatapack(mercurial.ui.ui(), packdir)
|
|
|
|
|
|
|
|
for filename, node, base, content in revisions:
|
|
|
|
packer.add(filename, node, base, content)
|
|
|
|
|
|
|
|
path = packer.close()
|
|
|
|
return fastdatapack(path)
|
|
|
|
|
|
|
|
def testGetDeltaChainSingleRev(self):
|
|
|
|
"""Test getting a 1-length delta chain."""
|
|
|
|
packdir = self.makeTempDir()
|
|
|
|
|
|
|
|
revisions = [("foo", self.getFakeHash(), nullid, "content")]
|
|
|
|
self.createPack(packdir, revisions=revisions)
|
|
|
|
|
|
|
|
store = datapackstore(packdir)
|
|
|
|
|
|
|
|
chain = store.getdeltachain(revisions[0][0], revisions[0][1])
|
|
|
|
self.assertEquals(1, len(chain))
|
|
|
|
self.assertEquals("content", chain[0][4])
|
|
|
|
|
2018-05-30 22:59:25 +03:00
|
|
|
def testPackWithSameNodePrefixes(self):
|
|
|
|
"""
|
|
|
|
Test a pack with several nodes that all start with the same prefix.
|
|
|
|
|
|
|
|
Previously the cdatapack code had a bug reading packs where all nodes
|
|
|
|
started with the same byte, causing it to fail to find most nodes in
|
|
|
|
the pack file.
|
|
|
|
"""
|
|
|
|
packdir = self.makeTempDir()
|
|
|
|
|
|
|
|
node1 = bin("c4beedc1071590f5a0869a72efd80ce182bb1146")
|
|
|
|
node2 = bin("c4beede6a252041e1d8c0e8410c5c37eb6568c49")
|
|
|
|
node3 = bin("c4beed4045e49bf0c18e6aa3a4bdd00ff72ed99e")
|
|
|
|
|
|
|
|
packer = mutabledatapack(mercurial.ui.ui(), packdir)
|
|
|
|
packer.add("foo.c", node1, nullid, "stuff")
|
|
|
|
packer.add("bar.c", node2, nullid, "other stuff")
|
|
|
|
packer.add("test", node3, nullid, "things")
|
|
|
|
path = packer.close()
|
|
|
|
|
|
|
|
# We use fastdatapack.getmissing() to exercise the cdatapack find()
|
|
|
|
# function
|
|
|
|
pack = fastdatapack(path)
|
|
|
|
self.assertEquals(pack.getmissing([("foo.c", node1)]), [])
|
|
|
|
self.assertEquals(pack.getmissing([("bar.c", node2)]), [])
|
|
|
|
self.assertEquals(pack.getmissing([("test", node3)]), [])
|
|
|
|
|
|
|
|
# Confirm that getmissing() does return a node that is actually missing
|
|
|
|
node4 = bin("4e4a47e84ced76e1d30da10a59ad9e95c9d621d7")
|
|
|
|
self.assertEquals(pack.getmissing([("other.c", node4)]), [("other.c", node4)])
|
|
|
|
|
2017-02-24 01:03:03 +03:00
|
|
|
def testGetDeltaChainMultiRev(self):
|
|
|
|
"""Test getting a 2-length delta chain."""
|
|
|
|
packdir = self.makeTempDir()
|
|
|
|
|
|
|
|
firsthash = self.getFakeHash()
|
|
|
|
revisions = [
|
|
|
|
("foo", firsthash, nullid, "content"),
|
|
|
|
("foo", self.getFakeHash(), firsthash, "content2"),
|
|
|
|
]
|
|
|
|
self.createPack(packdir, revisions=revisions)
|
|
|
|
|
|
|
|
store = datapackstore(packdir)
|
|
|
|
|
|
|
|
chain = store.getdeltachain(revisions[1][0], revisions[1][1])
|
|
|
|
self.assertEquals(2, len(chain))
|
|
|
|
self.assertEquals("content2", chain[0][4])
|
|
|
|
self.assertEquals("content", chain[1][4])
|
|
|
|
|
|
|
|
def testGetDeltaChainMultiPack(self):
|
|
|
|
"""Test getting chains from multiple packs."""
|
|
|
|
packdir = self.makeTempDir()
|
|
|
|
|
codemod: join the auto-formatter party
Summary:
Turned on the auto formatter. Ran `arc lint --apply-patches --take BLACK **/*.py`.
Then run `arc lint` again so some other autofixers like spellchecker etc. looked
at the code base. Manually accept the changes whenever they make sense, or use
a workaround (ex. changing "dict()" to "dict constructor") where autofix is false
positive. Disabled linters on files that are hard (i18n/polib.py) to fix, or less
interesting to fix (hgsubversion tests), or cannot be fixed without breaking
OSS build (FBPYTHON4).
Conflicted linters (test-check-module-imports.t, part of test-check-code.t,
test-check-pyflakes.t) are removed or disabled.
Duplicated linters (test-check-pyflakes.t, test-check-pylint.t) are removed.
An issue of the auto-formatter is lines are no longer guarnateed to be <= 80
chars. But that seems less important comparing with the benefit auto-formatter
provides.
As we're here, also remove test-check-py3-compat.t, as it is currently broken
if `PYTHON3=/bin/python3` is set.
Reviewed By: wez, phillco, simpkins, pkaush, singhsrb
Differential Revision: D8173629
fbshipit-source-id: 90e248ae0c5e6eaadbe25520a6ee42d32005621b
2018-05-26 07:34:37 +03:00
|
|
|
revisions1 = [("foo", self.getFakeHash(), nullid, "content")]
|
2017-02-24 01:03:03 +03:00
|
|
|
self.createPack(packdir, revisions=revisions1)
|
|
|
|
|
codemod: join the auto-formatter party
Summary:
Turned on the auto formatter. Ran `arc lint --apply-patches --take BLACK **/*.py`.
Then run `arc lint` again so some other autofixers like spellchecker etc. looked
at the code base. Manually accept the changes whenever they make sense, or use
a workaround (ex. changing "dict()" to "dict constructor") where autofix is false
positive. Disabled linters on files that are hard (i18n/polib.py) to fix, or less
interesting to fix (hgsubversion tests), or cannot be fixed without breaking
OSS build (FBPYTHON4).
Conflicted linters (test-check-module-imports.t, part of test-check-code.t,
test-check-pyflakes.t) are removed or disabled.
Duplicated linters (test-check-pyflakes.t, test-check-pylint.t) are removed.
An issue of the auto-formatter is lines are no longer guarnateed to be <= 80
chars. But that seems less important comparing with the benefit auto-formatter
provides.
As we're here, also remove test-check-py3-compat.t, as it is currently broken
if `PYTHON3=/bin/python3` is set.
Reviewed By: wez, phillco, simpkins, pkaush, singhsrb
Differential Revision: D8173629
fbshipit-source-id: 90e248ae0c5e6eaadbe25520a6ee42d32005621b
2018-05-26 07:34:37 +03:00
|
|
|
revisions2 = [("foo", self.getFakeHash(), revisions1[0][1], "content2")]
|
2017-02-24 01:03:03 +03:00
|
|
|
self.createPack(packdir, revisions=revisions2)
|
|
|
|
|
|
|
|
store = datapackstore(packdir)
|
|
|
|
|
|
|
|
chain1 = store.getdeltachain(revisions2[0][0], revisions2[0][1])
|
|
|
|
self.assertEquals(1, len(chain1))
|
|
|
|
self.assertEquals("content2", chain1[0][4])
|
|
|
|
|
|
|
|
chain2 = store.getdeltachain(chain1[0][2], chain1[0][3])
|
|
|
|
self.assertEquals(1, len(chain2))
|
|
|
|
self.assertEquals("content", chain2[0][4])
|
|
|
|
|
2017-02-24 01:03:03 +03:00
|
|
|
def testGetMissing(self):
|
|
|
|
packdir = self.makeTempDir()
|
|
|
|
|
|
|
|
revisions = [("foo", self.getFakeHash(), nullid, "content")]
|
|
|
|
self.createPack(packdir, revisions=revisions)
|
|
|
|
|
|
|
|
store = datapackstore(packdir)
|
|
|
|
|
|
|
|
missinghash1 = self.getFakeHash()
|
|
|
|
missinghash2 = self.getFakeHash()
|
codemod: join the auto-formatter party
Summary:
Turned on the auto formatter. Ran `arc lint --apply-patches --take BLACK **/*.py`.
Then run `arc lint` again so some other autofixers like spellchecker etc. looked
at the code base. Manually accept the changes whenever they make sense, or use
a workaround (ex. changing "dict()" to "dict constructor") where autofix is false
positive. Disabled linters on files that are hard (i18n/polib.py) to fix, or less
interesting to fix (hgsubversion tests), or cannot be fixed without breaking
OSS build (FBPYTHON4).
Conflicted linters (test-check-module-imports.t, part of test-check-code.t,
test-check-pyflakes.t) are removed or disabled.
Duplicated linters (test-check-pyflakes.t, test-check-pylint.t) are removed.
An issue of the auto-formatter is lines are no longer guarnateed to be <= 80
chars. But that seems less important comparing with the benefit auto-formatter
provides.
As we're here, also remove test-check-py3-compat.t, as it is currently broken
if `PYTHON3=/bin/python3` is set.
Reviewed By: wez, phillco, simpkins, pkaush, singhsrb
Differential Revision: D8173629
fbshipit-source-id: 90e248ae0c5e6eaadbe25520a6ee42d32005621b
2018-05-26 07:34:37 +03:00
|
|
|
missing = store.getmissing(
|
|
|
|
[
|
|
|
|
(revisions[0][0], revisions[0][1]),
|
|
|
|
("foo", missinghash1),
|
|
|
|
("foo2", missinghash2),
|
|
|
|
]
|
|
|
|
)
|
2017-02-24 01:03:03 +03:00
|
|
|
self.assertEquals(2, len(missing))
|
codemod: join the auto-formatter party
Summary:
Turned on the auto formatter. Ran `arc lint --apply-patches --take BLACK **/*.py`.
Then run `arc lint` again so some other autofixers like spellchecker etc. looked
at the code base. Manually accept the changes whenever they make sense, or use
a workaround (ex. changing "dict()" to "dict constructor") where autofix is false
positive. Disabled linters on files that are hard (i18n/polib.py) to fix, or less
interesting to fix (hgsubversion tests), or cannot be fixed without breaking
OSS build (FBPYTHON4).
Conflicted linters (test-check-module-imports.t, part of test-check-code.t,
test-check-pyflakes.t) are removed or disabled.
Duplicated linters (test-check-pyflakes.t, test-check-pylint.t) are removed.
An issue of the auto-formatter is lines are no longer guarnateed to be <= 80
chars. But that seems less important comparing with the benefit auto-formatter
provides.
As we're here, also remove test-check-py3-compat.t, as it is currently broken
if `PYTHON3=/bin/python3` is set.
Reviewed By: wez, phillco, simpkins, pkaush, singhsrb
Differential Revision: D8173629
fbshipit-source-id: 90e248ae0c5e6eaadbe25520a6ee42d32005621b
2018-05-26 07:34:37 +03:00
|
|
|
self.assertEquals(
|
|
|
|
set([("foo", missinghash1), ("foo2", missinghash2)]), set(missing)
|
|
|
|
)
|
2017-02-24 01:03:03 +03:00
|
|
|
|
2017-03-02 03:55:18 +03:00
|
|
|
def testRefreshPacks(self):
|
|
|
|
packdir = self.makeTempDir()
|
|
|
|
|
|
|
|
revisions = [("foo", self.getFakeHash(), nullid, "content")]
|
|
|
|
self.createPack(packdir, revisions=revisions)
|
|
|
|
store = datapackstore(packdir)
|
|
|
|
|
codemod: join the auto-formatter party
Summary:
Turned on the auto formatter. Ran `arc lint --apply-patches --take BLACK **/*.py`.
Then run `arc lint` again so some other autofixers like spellchecker etc. looked
at the code base. Manually accept the changes whenever they make sense, or use
a workaround (ex. changing "dict()" to "dict constructor") where autofix is false
positive. Disabled linters on files that are hard (i18n/polib.py) to fix, or less
interesting to fix (hgsubversion tests), or cannot be fixed without breaking
OSS build (FBPYTHON4).
Conflicted linters (test-check-module-imports.t, part of test-check-code.t,
test-check-pyflakes.t) are removed or disabled.
Duplicated linters (test-check-pyflakes.t, test-check-pylint.t) are removed.
An issue of the auto-formatter is lines are no longer guarnateed to be <= 80
chars. But that seems less important comparing with the benefit auto-formatter
provides.
As we're here, also remove test-check-py3-compat.t, as it is currently broken
if `PYTHON3=/bin/python3` is set.
Reviewed By: wez, phillco, simpkins, pkaush, singhsrb
Differential Revision: D8173629
fbshipit-source-id: 90e248ae0c5e6eaadbe25520a6ee42d32005621b
2018-05-26 07:34:37 +03:00
|
|
|
missing = store.getmissing([(revisions[0][0], revisions[0][1])])
|
2017-03-02 03:55:18 +03:00
|
|
|
self.assertEquals(0, len(missing))
|
|
|
|
|
|
|
|
revisions2 = [("foo2", self.getFakeHash(), nullid, "content")]
|
|
|
|
self.createPack(packdir, revisions=revisions2)
|
|
|
|
|
|
|
|
# First miss should guarantee a refresh
|
codemod: join the auto-formatter party
Summary:
Turned on the auto formatter. Ran `arc lint --apply-patches --take BLACK **/*.py`.
Then run `arc lint` again so some other autofixers like spellchecker etc. looked
at the code base. Manually accept the changes whenever they make sense, or use
a workaround (ex. changing "dict()" to "dict constructor") where autofix is false
positive. Disabled linters on files that are hard (i18n/polib.py) to fix, or less
interesting to fix (hgsubversion tests), or cannot be fixed without breaking
OSS build (FBPYTHON4).
Conflicted linters (test-check-module-imports.t, part of test-check-code.t,
test-check-pyflakes.t) are removed or disabled.
Duplicated linters (test-check-pyflakes.t, test-check-pylint.t) are removed.
An issue of the auto-formatter is lines are no longer guarnateed to be <= 80
chars. But that seems less important comparing with the benefit auto-formatter
provides.
As we're here, also remove test-check-py3-compat.t, as it is currently broken
if `PYTHON3=/bin/python3` is set.
Reviewed By: wez, phillco, simpkins, pkaush, singhsrb
Differential Revision: D8173629
fbshipit-source-id: 90e248ae0c5e6eaadbe25520a6ee42d32005621b
2018-05-26 07:34:37 +03:00
|
|
|
missing = store.getmissing([(revisions2[0][0], revisions2[0][1])])
|
2017-03-02 03:55:18 +03:00
|
|
|
self.assertEquals(0, len(missing))
|
|
|
|
|
|
|
|
revisions3 = [("foo3", self.getFakeHash(), nullid, "content")]
|
|
|
|
self.createPack(packdir, revisions=revisions3)
|
|
|
|
|
|
|
|
# Second miss should guarantee a refresh after 100ms.
|
|
|
|
# Use a busy loop since we listen to the clock timer internally.
|
|
|
|
now = time.time()
|
|
|
|
while time.time() - now < 0.2:
|
|
|
|
continue
|
codemod: join the auto-formatter party
Summary:
Turned on the auto formatter. Ran `arc lint --apply-patches --take BLACK **/*.py`.
Then run `arc lint` again so some other autofixers like spellchecker etc. looked
at the code base. Manually accept the changes whenever they make sense, or use
a workaround (ex. changing "dict()" to "dict constructor") where autofix is false
positive. Disabled linters on files that are hard (i18n/polib.py) to fix, or less
interesting to fix (hgsubversion tests), or cannot be fixed without breaking
OSS build (FBPYTHON4).
Conflicted linters (test-check-module-imports.t, part of test-check-code.t,
test-check-pyflakes.t) are removed or disabled.
Duplicated linters (test-check-pyflakes.t, test-check-pylint.t) are removed.
An issue of the auto-formatter is lines are no longer guarnateed to be <= 80
chars. But that seems less important comparing with the benefit auto-formatter
provides.
As we're here, also remove test-check-py3-compat.t, as it is currently broken
if `PYTHON3=/bin/python3` is set.
Reviewed By: wez, phillco, simpkins, pkaush, singhsrb
Differential Revision: D8173629
fbshipit-source-id: 90e248ae0c5e6eaadbe25520a6ee42d32005621b
2018-05-26 07:34:37 +03:00
|
|
|
missing = store.getmissing([(revisions3[0][0], revisions3[0][1])])
|
2017-03-02 03:55:18 +03:00
|
|
|
self.assertEquals(0, len(missing))
|
|
|
|
|
codemod: join the auto-formatter party
Summary:
Turned on the auto formatter. Ran `arc lint --apply-patches --take BLACK **/*.py`.
Then run `arc lint` again so some other autofixers like spellchecker etc. looked
at the code base. Manually accept the changes whenever they make sense, or use
a workaround (ex. changing "dict()" to "dict constructor") where autofix is false
positive. Disabled linters on files that are hard (i18n/polib.py) to fix, or less
interesting to fix (hgsubversion tests), or cannot be fixed without breaking
OSS build (FBPYTHON4).
Conflicted linters (test-check-module-imports.t, part of test-check-code.t,
test-check-pyflakes.t) are removed or disabled.
Duplicated linters (test-check-pyflakes.t, test-check-pylint.t) are removed.
An issue of the auto-formatter is lines are no longer guarnateed to be <= 80
chars. But that seems less important comparing with the benefit auto-formatter
provides.
As we're here, also remove test-check-py3-compat.t, as it is currently broken
if `PYTHON3=/bin/python3` is set.
Reviewed By: wez, phillco, simpkins, pkaush, singhsrb
Differential Revision: D8173629
fbshipit-source-id: 90e248ae0c5e6eaadbe25520a6ee42d32005621b
2018-05-26 07:34:37 +03:00
|
|
|
|
|
|
|
if __name__ == "__main__":
|
2017-02-24 01:03:03 +03:00
|
|
|
silenttestrunner.main(__name__)
|