view service/collector/stubs/greplin/scales/scales_test.pyi @ 1253:0e7044b23dad

more stubs for collector typechecking Ignore-this: 7151f942cfc29c2b3dfaa0a6b20222aa darcs-hash:47577255eba6b501a19b06231945ae090c05f8fd
author drewp <drewp@bigasterisk.com>
date Fri, 19 Apr 2019 01:07:29 -0700
parents
children
line wrap: on
line source

# Stubs for greplin.scales.scales_test (Python 3)
#
# NOTE: This dynamically typed stub was automatically generated by stubgen.

import unittest
from typing import Any

class Root1:
    stateStat: Any = ...
    errorsStat: Any = ...
    activeUrlsStat: Any = ...
    def __init__(self) -> None: ...
    def getChild(self, cls: Any, *args: Any): ...

class Root2:
    def __init__(self) -> None: ...
    def getChild(self, cls: Any): ...

class AggregatingRoot:
    countStat: Any = ...
    stateStat: Any = ...
    errorsStat: Any = ...
    def __init__(self) -> None: ...
    def getChild(self, cls: Any, *args: Any): ...

class AggregatingRootSubclass(AggregatingRoot): ...

class TypedChild:
    countStat: Any = ...
    def __init__(self) -> None: ...

class Child:
    countStat: Any = ...
    stateStat: Any = ...
    errorsStat: Any = ...
    def __init__(self, name: str = ...) -> None: ...

class DynamicRoot:
    value: int = ...
    dynamicStat: Any = ...
    def __init__(self) -> None: ...

class StatsTest(unittest.TestCase):
    def setUp(self) -> None: ...
    def testChildTypeStats(self) -> None: ...
    def testChildStats(self) -> None: ...
    def testMultilevelChild(self) -> None: ...
    def testStatSum(self) -> None: ...
    def testStatSumWithSubclassRoot(self) -> None: ...
    def helpTestStatSum(self, a: Any) -> None: ...
    def testStatHistogram(self) -> None: ...
    def testIntDictStats(self) -> None: ...
    def testIntDictStatsAggregation(self) -> None: ...
    def testDynamic(self) -> None: ...
    def testCollection(self) -> None: ...