diff --git a/beets/util/random.py b/beets/random.py similarity index 100% rename from beets/util/random.py rename to beets/random.py diff --git a/beetsplug/random.py b/beetsplug/random.py index 567d5e069..a8e29313a 100644 --- a/beetsplug/random.py +++ b/beetsplug/random.py @@ -19,7 +19,7 @@ from __future__ import division, absolute_import, print_function from beets.plugins import BeetsPlugin from beets.ui import Subcommand, decargs, print_ -from beets.util.random import random_objs +from beets.random import random_objs def random_func(lib, opts, args): diff --git a/test/test_random.py b/test/test_random.py index 099a52b02..4c31acdd9 100644 --- a/test/test_random.py +++ b/test/test_random.py @@ -13,7 +13,7 @@ # The above copyright notice and this permission notice shall be # included in all copies or substantial portions of the Software. -"""Test the beets.util.random utilities associated with the random plugin. +"""Test the beets.random utilities associated with the random plugin. """ from __future__ import division, absolute_import, print_function @@ -24,7 +24,7 @@ from test.helper import TestHelper import math from random import Random -from beets.util import random +from beets import random class RandomTest(unittest.TestCase, TestHelper):