Commit 2c239f9e authored by Conor Finn's avatar Conor Finn
Browse files

RE #27722 autopep8 E302 Expected blank lines

parent 4e16602f
......@@ -8,6 +8,7 @@ import unittest
from mantid.kernel import CompositeValidator, CompositeRelation, FloatBoundedValidator
from mantid.api import PythonAlgorithm
class CompositeValidatorTest(unittest.TestCase):
def test_creation_with_add_succeeds_correctly_in_algorithm(self):
......
......@@ -11,6 +11,8 @@ import unittest
from mantid.kernel import (ConfigService, ConfigServiceImpl, config,
std_vector_str, FacilityInfo, InstrumentInfo)
class ConfigServiceTest(unittest.TestCase):
__dirs_to_rm = []
......
......@@ -7,6 +7,7 @@
import unittest
from mantid.kernel import DeltaEMode, DeltaEModeType
class DeltaEModeTest(unittest.TestCase):
def test_availableTypes_contains_three_modes(self):
......
......@@ -8,6 +8,7 @@ import unittest
from mantid.kernel import FacilityInfo, InstrumentInfo, ConfigService
import pytz
class FacilityInfoTest(unittest.TestCase):
def test_construction_raies_an_error(self):
......
......@@ -7,6 +7,7 @@
import unittest
from mantid.kernel import BoolTimeSeriesProperty, FloatTimeSeriesProperty, FloatFilteredTimeSeriesProperty
class FilteredTimeSeriesPropertyTest(unittest.TestCase):
_source = None
......
......@@ -7,6 +7,7 @@
import unittest
from mantid.kernel import IPropertySettings
class IPropertySettingsTest(unittest.TestCase):
def test_construction_raises_an_exception(self):
......
......@@ -10,6 +10,7 @@ import testhelpers
from mantid.kernel import StringListValidator, Direction
from mantid.api import PythonAlgorithm
class ListValidatorTest(unittest.TestCase):
def test_empty_ListValidator_allows_nothing(self):
......
......@@ -9,6 +9,7 @@ import testhelpers
from mantid.kernel import FloatArrayProperty, StringMandatoryValidator, FloatArrayMandatoryValidator
from mantid.api import PythonAlgorithm
class MandatoryValidatorTest(unittest.TestCase):
def test_constructor_does_not_raise_error(self):
......
......@@ -8,6 +8,7 @@ import unittest
from mantid.kernel import MemoryStats
import sys
class MemoryStatsTest(unittest.TestCase):
def test_values_are_all_greater_than_zero(self):
......
......@@ -8,6 +8,7 @@ import unittest
import testhelpers
from mantid.kernel import NullValidator
class NullValidatorTest(unittest.TestCase):
def test_NullValidator_can_be_default_constructed(self):
......
......@@ -7,6 +7,7 @@
import unittest
from mantid.kernel import Direction, OptionalBool, OptionalBoolValue, OptionalBoolPropertyWithValue
class OptionalBoolTest(unittest.TestCase):
......
......@@ -7,6 +7,7 @@
import unittest
from mantid.kernel import ProgressBase
class ProgressBaseTest(unittest.TestCase):
def test_class_has_expected_attributes(self):
......
......@@ -8,6 +8,7 @@ import unittest
from mantid.kernel import PropertyManager, PropertyManagerDataService
class PropertyManagerDataServiceTest(unittest.TestCase):
def test_add_existing_mgr_object(self):
......
......@@ -11,6 +11,7 @@ from mantid.kernel import PropertyManagerProperty, Direction, PropertyManager
from mantid.api import Algorithm
import numpy as np
class FakeAlgorithm(Algorithm):
def PyInit(self):
self.declareProperty(PropertyManagerProperty("Args"))
......@@ -18,6 +19,7 @@ class FakeAlgorithm(Algorithm):
def PyExec(self):
pass
class PropertyManagerPropertyTest(unittest.TestCase):
def test_default_constructor_raises_an_exception(self):
......
......@@ -7,6 +7,7 @@
import unittest
from mantid.kernel import PropertyManager, IPropertyManager
class PropertyManagerTest(unittest.TestCase):
def test_propertymanager_population(self):
manager = PropertyManager()
......
......@@ -26,6 +26,7 @@ class TestPyAlg(PythonAlgorithm):
AlgorithmFactory.subscribe(TestPyAlg)
"""
class PythonPluginsTest(unittest.TestCase):
def setUp(self):
......
......@@ -9,6 +9,7 @@ import math
from mantid.kernel import Quat, V3D
class QuatTest(unittest.TestCase):
def test_empty_constructor(self):
......
......@@ -11,6 +11,7 @@ import numpy
DELTA_PLACES = 10
class StatisticsTest(unittest.TestCase):
def test_getStatistics_with_floats(self):
......
......@@ -10,6 +10,7 @@ import testhelpers
from mantid.kernel import StringContainsValidator
from mantid.api import PythonAlgorithm
class StringContainsValidatorTest(unittest.TestCase):
......
......@@ -11,6 +11,7 @@ from mantid.kernel import (DateAndTime, BoolTimeSeriesProperty, FloatTimeSeriesP
StringTimeSeriesProperty)
from testhelpers import run_algorithm
class TimeSeriesPropertyTest(unittest.TestCase):
_test_ws = None
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment