This is an automated email from the ASF dual-hosted git repository.

gstein pushed a commit to branch trunk
in repository https://gitbox.apache.org/repos/asf/steve.git


The following commit(s) were added to refs/heads/trunk by this push:
     new 590258c  remove more v1 bits
590258c is described below

commit 590258cbf8ceb400328e4a20e9dfcff11fd07ade
Author: Greg Stein <[email protected]>
AuthorDate: Sat May 21 05:31:40 2022 -0400

    remove more v1 bits
---
 tests/data/duplicates.txt |  3 ---
 tests/test_voters.py      | 33 ---------------------------------
 2 files changed, 36 deletions(-)

diff --git a/tests/data/duplicates.txt b/tests/data/duplicates.txt
deleted file mode 100644
index 870ab10..0000000
--- a/tests/data/duplicates.txt
+++ /dev/null
@@ -1,3 +0,0 @@
[email protected]
[email protected]
[email protected]
diff --git a/tests/test_voters.py b/tests/test_voters.py
deleted file mode 100644
index a269e69..0000000
--- a/tests/test_voters.py
+++ /dev/null
@@ -1,33 +0,0 @@
-#
-# Licensed to the Apache Software Foundation (ASF) under one
-# or more contributor license agreements.  See the NOTICE file
-# distributed with this work for additional information
-# regarding copyright ownership.  The ASF licenses this file
-# to you under the Apache License, Version 2.0 (the
-# "License"); you may not use this file except in compliance
-# with the License.  You may obtain a copy of the License at
-#
-#   http://www.apache.org/licenses/LICENSE-2.0
-#
-# Unless required by applicable law or agreed to in writing,
-# software distributed under the License is distributed on an
-# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
-# KIND, either express or implied.  See the License for the
-# specific language governing permissions and limitations
-# under the License.
-#
-import os
-import steve
-
-
-DATA_DIR = os.path.join(os.path.abspath(os.path.dirname(__file__)), 'data')
-
-
-def test_duplicates():
-  voters = steve.get_group(os.path.join(DATA_DIR, 'duplicates.txt'))
-
-  assert len(voters) == 3
-  assert '[email protected]' in voters
-  assert '[email protected]' in voters
-  assert voters.count('[email protected]') == 2
-

Reply via email to