You are an expert in writing code in many different languages. Your goal is to perform code completion for the following code, keeping in mind the rest of the code and the file meta data.
    Metadata details:
    filename: login_provisioned_device_test.go
    path of file: ./repos/client/go/engine
    
    the code of the file until where you have to start completion: package engine

import (
	"testing"

	"github.com/keybase/client/go/libkb"
	"github.com/stretchr/testify/require"
)

func TestLoginDeviceIDConfigIssues(t *testing.T) {
	tc := SetupEngineTest(t, "login")
	defer tc.Cleanup()

	// create a user to fill up config with something
	fu := CreateAndSignupFakeUser(tc, "fake")
	Logout(tc)

	// remove device id from config file
	err := tc.G.Env.GetConfigWriter().SetDeviceID("")
	require.NoError(t, err)

	// now try to log in on current device
	uis := libkb.UIs{
		LoginUI:  &libkb.TestLoginUI{Username: fu.Username},
		LogUI:    tc.G.UI.GetLogUI(),
		SecretUI: fu.NewSecretUI(),
	}
	eng := NewLoginProvisionedDevice(tc.G, fu.Username)
	m := NewMetaContextForTest(tc).WithUIs(uis)
	err = RunEngine2(m, eng)
	if err != errNoDevice {
		t.Errorf("ru
    
func TestLoginDeviceIDConfigIssues(t *testing.T) {
	tc := SetupEngineTest(t, "login")
	defer tc.Cleanup()

	// create a user to fill up config with something
	fu := CreateAndSignupFakeUser(tc, "fake")
	Logout(tc)

	// remove device id from config file
	err := tc.G.Env.GetConfigWriter().SetDeviceID("")
	require.NoError(t, err)

	// now try to log in on current device
	uis := libkb.UIs{
		LoginUI:  &libkb.TestLoginUI{Username: fu.Username},
		LogUI:    tc.G.UI.GetLogUI(),
		SecretUI: fu.NewSecretUI(),
	}
	eng := NewLoginProvisionedDevice(tc.G, fu.Username)
	m := NewMetaContextForTest(tc).WithUIs(uis)
	err = RunEngine2(m, eng)
	if err != errNoDevice {
		t.Errorf("run error: %v, expected %v", err, errNoDevice)
	}

	// put a device id into config file that is not this user's device
	err = tc.G.Env.GetConfigWriter().SetDeviceID("31a7669bfa163eed3619780ebac8ee18")
	require.NoError(t, err)
	eng = NewLoginProvisionedDevice(tc.G, fu.Username)
	err = RunEngine2(m, eng)
	if err != errNoDevice {
		t.Errorf("run error: %v, expected %v", err, errNoDevice)
	}
}