~chicharreros/magicicada-client/1.0

« back to all changes in this revision

Viewing changes to ubuntuone/syncdaemon/tests/test_localrescan.py

  • Committer: Magicicada Bot
  • Author(s): Natalia
  • Date: 2018-04-24 15:59:00 UTC
  • mfrom: (1442.1.1 use-protocol-from-wheel)
  • Revision ID: magicicada_bot-20180424155900-2mwasih60li4jh2p
[r=facundo] - Use protocol from wheel release.
- Fix copyright headers from modified files.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
# -*- coding: utf-8 -*-
2
2
#
3
3
# Copyright 2009-2012 Canonical Ltd.
 
4
# Copyright 2015-2018 Chicharreros (https://launchpad.net/~chicharreros)
4
5
#
5
6
# This program is free software: you can redistribute it and/or modify it
6
7
# under the terms of the GNU General Public License version 3, as published
34
35
import os
35
36
import uuid
36
37
 
 
38
from magicicadaprotocol import content_hash as storage_hash, volumes
37
39
from twisted.internet import defer, reactor
38
40
from ubuntuone.devtools.handlers import MementoHandler
39
41
from ubuntuone.devtools.testcases import skipIfOS
62
64
)
63
65
from ubuntuone.syncdaemon.marker import MDMarker
64
66
from ubuntuone.syncdaemon.tritcask import Tritcask
65
 
from ubuntuone.storageprotocol import (
66
 
    content_hash as storage_hash, volumes
67
 
)
68
67
from ubuntuone.syncdaemon.volume_manager import (
69
68
    ACCESS_LEVEL_RO,
70
69
    ACCESS_LEVEL_RW,