Exemple #1
0
    def test_getEditionStatement_no_value(self, mocker):
        edStmt = KMeansManager.getEditionStatement(None)

        assert edStmt == ''
Exemple #2
0
    def test_getEditionStatement_empty_array(self, mocker):
        edStmt = KMeansManager.getEditionStatement([])

        assert edStmt == ''
Exemple #3
0
    def test_getEditionStatement_value_present(self, mocker):
        edStmt = KMeansManager.getEditionStatement(['edition|1'])

        assert edStmt == 'edition'